mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 12:32:08 -06:00
Send configFileDiag event when presence of errors change on project.update (#58120)
This commit is contained in:
parent
f608fc0a10
commit
25de1b05b4
@ -840,10 +840,19 @@ export function projectContainsInfoDirectly(project: Project, info: ScriptInfo)
|
||||
!project.isSourceOfProjectReferenceRedirect(info.path);
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
/**
|
||||
* returns true if project updated with new program
|
||||
* @internal
|
||||
*/
|
||||
export function updateProjectIfDirty(project: Project) {
|
||||
project.invalidateResolutionsOfFailedLookupLocations();
|
||||
return project.dirty && project.updateGraph();
|
||||
return project.dirty && !project.updateGraph();
|
||||
}
|
||||
|
||||
function updateConfiguredProjectWithoutConfigDiagIfDirty(project: ConfiguredProject) {
|
||||
project.skipConfigDiagEvent = true;
|
||||
updateProjectIfDirty(project);
|
||||
project.skipConfigDiagEvent = undefined;
|
||||
}
|
||||
|
||||
function setProjectOptionsUsed(project: ConfiguredProject | ExternalProject) {
|
||||
@ -2508,6 +2517,7 @@ export class ProjectService {
|
||||
/** @internal */
|
||||
private createLoadAndUpdateConfiguredProject(configFileName: NormalizedPath, reason: string) {
|
||||
const project = this.createAndLoadConfiguredProject(configFileName, reason);
|
||||
project.skipConfigDiagEvent = true;
|
||||
project.updateGraph();
|
||||
return project;
|
||||
}
|
||||
@ -2836,6 +2846,7 @@ export class ProjectService {
|
||||
|
||||
// Load project from the disk
|
||||
this.loadConfiguredProject(project, reason);
|
||||
project.skipConfigDiagEvent = true;
|
||||
project.updateGraph();
|
||||
|
||||
this.sendConfigFileDiagEvent(project, configFileName);
|
||||
@ -2849,17 +2860,22 @@ export class ProjectService {
|
||||
project.markAsDirty();
|
||||
}
|
||||
|
||||
private sendConfigFileDiagEvent(project: ConfiguredProject, triggerFile: NormalizedPath) {
|
||||
/** @internal */
|
||||
sendConfigFileDiagEvent(project: ConfiguredProject, triggerFile: NormalizedPath | undefined) {
|
||||
if (!this.eventHandler || this.suppressDiagnosticEvents) {
|
||||
return;
|
||||
}
|
||||
const diagnostics = project.getLanguageService().getCompilerOptionsDiagnostics();
|
||||
diagnostics.push(...project.getAllProjectErrors());
|
||||
|
||||
if (!triggerFile && !!diagnostics.length === !!project.hasConfigFileDiagnostics) return;
|
||||
|
||||
project.hasConfigFileDiagnostics = !!diagnostics.length;
|
||||
|
||||
this.eventHandler(
|
||||
{
|
||||
eventName: ConfigFileDiagEvent,
|
||||
data: { configFileName: project.getConfigFilePath(), diagnostics, triggerFile },
|
||||
data: { configFileName: project.getConfigFilePath(), diagnostics, triggerFile: triggerFile ?? project.getConfigFilePath() },
|
||||
} satisfies ConfigFileDiagEvent,
|
||||
);
|
||||
}
|
||||
@ -3782,7 +3798,7 @@ export class ProjectService {
|
||||
}
|
||||
else {
|
||||
// Ensure project is ready to check if it contains opened script info
|
||||
updateProjectIfDirty(project);
|
||||
updateConfiguredProjectWithoutConfigDiagIfDirty(project);
|
||||
}
|
||||
|
||||
projectForConfigFileDiag = project.containsScriptInfo(info) ? project : undefined;
|
||||
@ -3795,7 +3811,7 @@ export class ProjectService {
|
||||
project,
|
||||
info.path,
|
||||
child => {
|
||||
updateProjectIfDirty(child);
|
||||
updateConfiguredProjectWithoutConfigDiagIfDirty(child);
|
||||
// Retain these projects
|
||||
if (!isArray(retainProjects)) {
|
||||
retainProjects = [project as ConfiguredProject, child];
|
||||
|
||||
@ -2707,6 +2707,12 @@ export class ConfiguredProject extends Project {
|
||||
/** @internal */
|
||||
private compilerHost?: CompilerHost;
|
||||
|
||||
/** @internal */
|
||||
hasConfigFileDiagnostics?: boolean;
|
||||
|
||||
/** @internal */
|
||||
skipConfigDiagEvent?: true;
|
||||
|
||||
/** @internal */
|
||||
constructor(
|
||||
configFileName: NormalizedPath,
|
||||
@ -2790,6 +2796,9 @@ export class ConfiguredProject extends Project {
|
||||
this.compilerHost = undefined;
|
||||
this.projectService.sendProjectLoadingFinishEvent(this);
|
||||
this.projectService.sendProjectTelemetry(this);
|
||||
if (!this.skipConfigDiagEvent && !result) { // If new program, send event if diagnostics presence has changed
|
||||
this.projectService.sendConfigFileDiagEvent(this, /*triggerFile*/ undefined);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
@ -17,6 +17,7 @@ import {
|
||||
File,
|
||||
Folder,
|
||||
libFile,
|
||||
TestServerHostOsFlavor,
|
||||
} from "../helpers/virtualFileSystemWithWatch";
|
||||
|
||||
describe("unittests:: tsserver:: projectErrors::", () => {
|
||||
@ -808,3 +809,27 @@ describe("unittests:: tsserver:: projectErrors:: with npm install when", () => {
|
||||
verifyNpmInstall(/*timeoutDuringPartialInstallation*/ false);
|
||||
});
|
||||
});
|
||||
|
||||
describe("unittests:: tsserver:: projectErrors:: with file rename on wsl2::", () => {
|
||||
it("rename a file", () => {
|
||||
const host = createServerHost({
|
||||
"/home/username/project/src/a.ts": `export const a = 10;`,
|
||||
"/home/username/project/src/b.ts": `export const b = 10;`,
|
||||
"/home/username/project/tsconfig.json": jsonToReadableText({
|
||||
compilerOptions: {
|
||||
strictNullChecks: true,
|
||||
},
|
||||
include: ["src/**/*.ts"],
|
||||
}),
|
||||
[libFile.path]: libFile.content,
|
||||
}, { osFlavor: TestServerHostOsFlavor.Linux });
|
||||
const session = new TestSession(host);
|
||||
openFilesForSession([{ file: "/home/username/project/src/a.ts", projectRootPath: "/home/username/project" }], session);
|
||||
host.renameFile("/home/username/project/src/b.ts", "/home/username/project/src/c.ts");
|
||||
openFilesForSession([{ file: "/home/username/project/src/c.ts", content: `export const b = 10;`, projectRootPath: "/home/username/project" }], session);
|
||||
host.runQueuedTimeoutCallbacks(); // Updates the project that c.ts now exists on the disk and schedules one more update
|
||||
host.runQueuedTimeoutCallbacks();
|
||||
closeFilesForSession(["/home/username/project/src/c.ts"], session);
|
||||
baselineTsserverLogs("projectErrors", "file rename on wsl2", session);
|
||||
});
|
||||
});
|
||||
|
||||
@ -3233,7 +3233,6 @@ declare namespace ts {
|
||||
private addFilesToNonInferredProject;
|
||||
private updateNonInferredProjectFiles;
|
||||
private updateRootAndOptionsOfNonInferredProject;
|
||||
private sendConfigFileDiagEvent;
|
||||
private getOrCreateInferredProjectForProjectRootPathIfEnabled;
|
||||
private getOrCreateSingleInferredProjectIfEnabled;
|
||||
private getOrCreateSingleInferredWithoutProjectRoot;
|
||||
|
||||
@ -540,6 +540,63 @@ Info seq [hh:mm:ss:mss] event:
|
||||
}
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/packages/a/tsconfig.json",
|
||||
"configFile": "/packages/a/tsconfig.json",
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'",
|
||||
"code": 6053,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Array'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Boolean'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Function'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'IArguments'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Number'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Object'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'RegExp'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'String'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Finding references to /packages/b/index.ts position 13 in project /tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Search path: /packages/a
|
||||
Info seq [hh:mm:ss:mss] For info: /packages/a/index.ts :: Config file name: /packages/a/tsconfig.json
|
||||
|
||||
@ -525,26 +525,6 @@ Info seq [hh:mm:ss:mss] Files (4)
|
||||
/user/username/projects/myproject/file3.ts Text-1 "const xy = 3;"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
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 (4)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.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/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (4)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
@ -672,26 +652,6 @@ Info seq [hh:mm:ss:mss] Files (4)
|
||||
/user/username/projects/myproject/file3.ts Text-1 "const xy = 3;"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
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 (4)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.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/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (4)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -583,26 +583,6 @@ Info seq [hh:mm:ss:mss] Files (5)
|
||||
/user/username/projects/myproject/module.ts Text-1 "export const xyz = 4;"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
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] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.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/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (5)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
@ -735,26 +715,6 @@ Info seq [hh:mm:ss:mss] Files (5)
|
||||
/user/username/projects/myproject/module.ts Text-1 "export const xyz = 4;"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
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] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.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/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (5)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -553,26 +553,6 @@ Info seq [hh:mm:ss:mss] Files (5)
|
||||
/user/username/projects/myproject/module.ts Text-1 "export const xyz = 4;"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
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] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.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/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (5)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
@ -704,26 +684,6 @@ Info seq [hh:mm:ss:mss] Files (5)
|
||||
/user/username/projects/myproject/module.ts Text-1 "export const xyz = 4;"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
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] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.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/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (5)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -502,26 +502,6 @@ Info seq [hh:mm:ss:mss] Files (4)
|
||||
/user/username/projects/myproject/file3.ts Text-1 "const xy = 3;"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
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 (4)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.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/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (4)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
@ -648,26 +628,6 @@ Info seq [hh:mm:ss:mss] Files (4)
|
||||
/user/username/projects/myproject/file3.ts Text-1 "const xy = 3;"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
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 (4)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.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/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (4)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file2.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -847,6 +847,63 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"projectName": "/a/tsconfig.json"
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/a/tsconfig.json",
|
||||
"configFile": "/a/tsconfig.json",
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'",
|
||||
"code": 6053,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Array'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Boolean'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Function'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'IArguments'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Number'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Object'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'RegExp'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'String'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Search path: /a
|
||||
Info seq [hh:mm:ss:mss] For info: /a/a.ts :: Config file name: /a/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Finding references to /a/a.ts position 16 in project /a/tsconfig.json
|
||||
|
||||
@ -847,6 +847,63 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"projectName": "/a/tsconfig.json"
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/a/tsconfig.json",
|
||||
"configFile": "/a/tsconfig.json",
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'",
|
||||
"code": 6053,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Array'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Boolean'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Function'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'IArguments'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Number'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Object'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'RegExp'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'String'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Search path: /a
|
||||
Info seq [hh:mm:ss:mss] For info: /a/a.ts :: Config file name: /a/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Finding references to /a/a.ts position 16 in project /a/tsconfig.json
|
||||
|
||||
@ -846,6 +846,63 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"projectName": "/a/tsconfig.json"
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/a/tsconfig.json",
|
||||
"configFile": "/a/tsconfig.json",
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'",
|
||||
"code": 6053,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Array'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Boolean'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Function'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'IArguments'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Number'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Object'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'RegExp'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'String'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": {
|
||||
|
||||
@ -846,6 +846,63 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"projectName": "/a/tsconfig.json"
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/a/tsconfig.json",
|
||||
"configFile": "/a/tsconfig.json",
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'",
|
||||
"code": 6053,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Array'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Boolean'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Function'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'IArguments'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Number'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Object'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'RegExp'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'String'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -449,6 +449,63 @@ Info seq [hh:mm:ss:mss] event:
|
||||
}
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/b/tsconfig.json",
|
||||
"configFile": "/b/tsconfig.json",
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'",
|
||||
"code": 6053,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Array'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Boolean'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Function'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'IArguments'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Number'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Object'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'RegExp'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'String'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -0,0 +1,677 @@
|
||||
currentDirectory:: / useCaseSensitiveFileNames: false
|
||||
Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist
|
||||
Before request
|
||||
//// [/home/username/project/src/a.ts] Inode:: 5
|
||||
export const a = 10;
|
||||
|
||||
//// [/home/username/project/src/b.ts] Inode:: 6
|
||||
export const b = 10;
|
||||
|
||||
//// [/home/username/project/tsconfig.json] Inode:: 7
|
||||
{
|
||||
"compilerOptions": {
|
||||
"strictNullChecks": true
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts"
|
||||
]
|
||||
}
|
||||
|
||||
//// [/a/lib/lib.d.ts] Inode:: 10
|
||||
/// <reference no-default-lib="true"/>
|
||||
interface Boolean {}
|
||||
interface Function {}
|
||||
interface CallableFunction {}
|
||||
interface NewableFunction {}
|
||||
interface IArguments {}
|
||||
interface Number { toExponential: any; }
|
||||
interface Object {}
|
||||
interface RegExp {}
|
||||
interface String { charAt: any; }
|
||||
interface Array<T> { length: number; [n: number]: T; }
|
||||
|
||||
|
||||
Info seq [hh:mm:ss:mss] request:
|
||||
{
|
||||
"command": "open",
|
||||
"arguments": {
|
||||
"file": "/home/username/project/src/a.ts",
|
||||
"projectRootPath": "/home/username/project"
|
||||
},
|
||||
"seq": 1,
|
||||
"type": "request"
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Search path: /home/username/project/src
|
||||
Info seq [hh:mm:ss:mss] For info: /home/username/project/src/a.ts :: Config file name: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Creating configuration project /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/tsconfig.json 2000 undefined Project: /home/username/project/tsconfig.json WatchType: Config file
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "projectLoadingStart",
|
||||
"body": {
|
||||
"projectName": "/home/username/project/tsconfig.json",
|
||||
"reason": "Creating possible configured project for /home/username/project/src/a.ts to open"
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Config: /home/username/project/tsconfig.json : {
|
||||
"rootNames": [
|
||||
"/home/username/project/src/a.ts",
|
||||
"/home/username/project/src/b.ts"
|
||||
],
|
||||
"options": {
|
||||
"strictNullChecks": true,
|
||||
"configFilePath": "/home/username/project/tsconfig.json"
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/username/project/src 1 undefined Config: /home/username/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/username/project/src 1 undefined Config: /home/username/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/b.ts 500 undefined WatchType: Closed Script info
|
||||
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/username/project/node_modules/@types 1 undefined Project: /home/username/project/tsconfig.json WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/username/project/node_modules/@types 1 undefined Project: /home/username/project/tsconfig.json WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/username/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms
|
||||
Info seq [hh:mm:ss:mss] Project '/home/username/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
/a/lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }"
|
||||
/home/username/project/src/a.ts SVC-1-0 "export const a = 10;"
|
||||
/home/username/project/src/b.ts Text-1 "export const b = 10;"
|
||||
|
||||
|
||||
../../../a/lib/lib.d.ts
|
||||
Default library for target 'es5'
|
||||
src/a.ts
|
||||
Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
|
||||
src/b.ts
|
||||
Matched by include pattern 'src/**/*.ts' 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/username/project/tsconfig.json"
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "telemetry",
|
||||
"body": {
|
||||
"telemetryEventName": "projectInfo",
|
||||
"payload": {
|
||||
"projectId": "50462d0a0c3763035f12d16b6fbfb9ba7b2fb44771df6b8dac10d9597d932057",
|
||||
"fileStats": {
|
||||
"js": 0,
|
||||
"jsSize": 0,
|
||||
"jsx": 0,
|
||||
"jsxSize": 0,
|
||||
"ts": 2,
|
||||
"tsSize": 40,
|
||||
"tsx": 0,
|
||||
"tsxSize": 0,
|
||||
"dts": 1,
|
||||
"dtsSize": 334,
|
||||
"deferred": 0,
|
||||
"deferredSize": 0
|
||||
},
|
||||
"compilerOptions": {
|
||||
"strictNullChecks": true
|
||||
},
|
||||
"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/username/project/src/a.ts",
|
||||
"configFile": "/home/username/project/tsconfig.json",
|
||||
"diagnostics": []
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Project '/home/username/project/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/username/project/src/a.ts ProjectRootPath: /home/username/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"responseRequired": false
|
||||
}
|
||||
After request
|
||||
|
||||
PolledWatches::
|
||||
/home/username/project/node_modules/@types: *new*
|
||||
{"pollingInterval":500}
|
||||
|
||||
FsWatches::
|
||||
/a/lib/lib.d.ts: *new*
|
||||
{"inode":10}
|
||||
/home/username/project/src: *new*
|
||||
{"inode":4}
|
||||
/home/username/project/src/b.ts: *new*
|
||||
{"inode":6}
|
||||
/home/username/project/tsconfig.json: *new*
|
||||
{"inode":7}
|
||||
|
||||
Projects::
|
||||
/home/username/project/tsconfig.json (Configured) *new*
|
||||
projectStateVersion: 1
|
||||
projectProgramVersion: 1
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.d.ts *new*
|
||||
version: Text-1
|
||||
containingProjects: 1
|
||||
/home/username/project/tsconfig.json
|
||||
/home/username/project/src/a.ts (Open) *new*
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/home/username/project/tsconfig.json *default*
|
||||
/home/username/project/src/b.ts *new*
|
||||
version: Text-1
|
||||
containingProjects: 1
|
||||
/home/username/project/tsconfig.json
|
||||
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/username/project/src/b.ts 2:: WatchInfo: /home/username/project/src/b.ts 500 undefined WatchType: Closed Script info
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/username/project/src/b.ts 500 undefined WatchType: Closed Script info
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/username/project/src/b.ts 2:: WatchInfo: /home/username/project/src/b.ts 500 undefined WatchType: Closed Script info
|
||||
Before request
|
||||
//// [/home/username/project/src/c.ts] Inode:: 11
|
||||
export const b = 10;
|
||||
|
||||
//// [/home/username/project/src/b.ts] deleted
|
||||
|
||||
PolledWatches::
|
||||
/home/username/project/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
|
||||
FsWatches::
|
||||
/a/lib/lib.d.ts:
|
||||
{"inode":10}
|
||||
/home/username/project/src:
|
||||
{"inode":4}
|
||||
/home/username/project/tsconfig.json:
|
||||
{"inode":7}
|
||||
|
||||
FsWatches *deleted*::
|
||||
/home/username/project/src/b.ts:
|
||||
{"inode":6}
|
||||
|
||||
Timeout callback:: count: 3
|
||||
1: /home/username/project/tsconfig.json *new*
|
||||
2: *ensureProjectForOpenFiles* *new*
|
||||
4: timerToUpdateChildWatches *new*
|
||||
|
||||
Projects::
|
||||
/home/username/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 2 *changed*
|
||||
projectProgramVersion: 1
|
||||
dirty: true *changed*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.d.ts
|
||||
version: Text-1
|
||||
containingProjects: 1
|
||||
/home/username/project/tsconfig.json
|
||||
/home/username/project/src/a.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/home/username/project/tsconfig.json *default*
|
||||
/home/username/project/src/b.ts *deleted*
|
||||
version: Text-1
|
||||
containingProjects: 0 *changed*
|
||||
/home/username/project/tsconfig.json *deleted*
|
||||
|
||||
Info seq [hh:mm:ss:mss] request:
|
||||
{
|
||||
"command": "open",
|
||||
"arguments": {
|
||||
"file": "/home/username/project/src/c.ts",
|
||||
"projectRootPath": "/home/username/project",
|
||||
"fileContent": "export const b = 10;"
|
||||
},
|
||||
"seq": 2,
|
||||
"type": "request"
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Search path: /home/username/project/src
|
||||
Info seq [hh:mm:ss:mss] For info: /home/username/project/src/c.ts :: Config file name: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/b.ts 500 undefined Project: /home/username/project/tsconfig.json WatchType: Missing file
|
||||
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/username/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms
|
||||
Info seq [hh:mm:ss:mss] Project '/home/username/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (2)
|
||||
/a/lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }"
|
||||
/home/username/project/src/a.ts SVC-1-0 "export const a = 10;"
|
||||
|
||||
|
||||
../../../a/lib/lib.d.ts
|
||||
Default library for target 'es5'
|
||||
src/a.ts
|
||||
Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/home/username/project/src/c.ts",
|
||||
"configFile": "/home/username/project/tsconfig.json",
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/home/username/project/src/b.ts' not found.\n The file is in the program because:\n Matched by include pattern 'src/**/*.ts' in '/home/username/project/tsconfig.json'",
|
||||
"code": 6053,
|
||||
"category": "error",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"span": {
|
||||
"start": {
|
||||
"line": 6,
|
||||
"offset": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"offset": 18
|
||||
},
|
||||
"file": "/home/username/project/tsconfig.json"
|
||||
},
|
||||
"message": "File is matched by include pattern specified here.",
|
||||
"category": "message",
|
||||
"code": 1408
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/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/username/project/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/username/project/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/username/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/username/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms
|
||||
Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred)
|
||||
Info seq [hh:mm:ss:mss] Files (2)
|
||||
/a/lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }"
|
||||
/home/username/project/src/c.ts SVC-1-0 "export const b = 10;"
|
||||
|
||||
|
||||
../../../../a/lib/lib.d.ts
|
||||
Default library for target 'es5'
|
||||
c.ts
|
||||
Root file specified for compilation
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/home/username/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: /home/username/project/src/a.ts ProjectRootPath: /home/username/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/c.ts ProjectRootPath: /home/username/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"responseRequired": false
|
||||
}
|
||||
After request
|
||||
|
||||
PolledWatches::
|
||||
/home/username/project/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
/home/username/project/src/b.ts: *new*
|
||||
{"pollingInterval":500}
|
||||
/home/username/project/src/jsconfig.json: *new*
|
||||
{"pollingInterval":2000}
|
||||
/home/username/project/src/node_modules/@types: *new*
|
||||
{"pollingInterval":500}
|
||||
/home/username/project/src/tsconfig.json: *new*
|
||||
{"pollingInterval":2000}
|
||||
|
||||
FsWatches::
|
||||
/a/lib/lib.d.ts:
|
||||
{"inode":10}
|
||||
/home/username/project/src:
|
||||
{"inode":4}
|
||||
/home/username/project/tsconfig.json:
|
||||
{"inode":7}
|
||||
|
||||
Projects::
|
||||
/dev/null/inferredProject1* (Inferred) *new*
|
||||
projectStateVersion: 1
|
||||
projectProgramVersion: 1
|
||||
/home/username/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 2
|
||||
projectProgramVersion: 2 *changed*
|
||||
dirty: false *changed*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.d.ts *changed*
|
||||
version: Text-1
|
||||
containingProjects: 2 *changed*
|
||||
/home/username/project/tsconfig.json
|
||||
/dev/null/inferredProject1* *new*
|
||||
/home/username/project/src/a.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/home/username/project/tsconfig.json *default*
|
||||
/home/username/project/src/c.ts (Open) *new*
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/dev/null/inferredProject1* *default*
|
||||
|
||||
Before running Timeout callback:: count: 3
|
||||
1: /home/username/project/tsconfig.json
|
||||
2: *ensureProjectForOpenFiles*
|
||||
4: timerToUpdateChildWatches
|
||||
|
||||
Info seq [hh:mm:ss:mss] Running: /home/username/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/username/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: /home/username/project/src/a.ts ProjectRootPath: /home/username/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/c.ts ProjectRootPath: /home/username/project
|
||||
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/username/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: /home/username/project/src/a.ts ProjectRootPath: /home/username/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/c.ts ProjectRootPath: /home/username/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*
|
||||
Info seq [hh:mm:ss:mss] got projects updated in background /home/username/project/src/a.ts,/home/username/project/src/c.ts
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "projectsUpdatedInBackground",
|
||||
"body": {
|
||||
"openFiles": [
|
||||
"/home/username/project/src/a.ts",
|
||||
"/home/username/project/src/c.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] sysLog:: onTimerToUpdateChildWatches:: 1
|
||||
Info seq [hh:mm:ss:mss] sysLog:: invokingWatchers:: Elapsed:: *ms:: 0
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/username/project/src/b.ts 0:: WatchInfo: /home/username/project/src 1 undefined Config: /home/username/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/username/project/src/b.ts 0:: WatchInfo: /home/username/project/src 1 undefined Config: /home/username/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/username/project/src/c.ts 1:: WatchInfo: /home/username/project/src 1 undefined Config: /home/username/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /home/username/project/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/username/project/src/c.ts 1:: WatchInfo: /home/username/project/src 1 undefined Config: /home/username/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] sysLog:: Elapsed:: *ms:: onTimerToUpdateChildWatches:: 0 undefined
|
||||
After running Timeout callback:: count: 2
|
||||
|
||||
Timeout callback:: count: 2
|
||||
7: /home/username/project/tsconfig.json *new*
|
||||
8: *ensureProjectForOpenFiles* *new*
|
||||
|
||||
Projects::
|
||||
/dev/null/inferredProject1* (Inferred)
|
||||
projectStateVersion: 1
|
||||
projectProgramVersion: 1
|
||||
/home/username/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 3 *changed*
|
||||
projectProgramVersion: 2
|
||||
dirty: true *changed*
|
||||
|
||||
Before running Timeout callback:: count: 2
|
||||
7: /home/username/project/tsconfig.json
|
||||
8: *ensureProjectForOpenFiles*
|
||||
|
||||
Info seq [hh:mm:ss:mss] Running: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/username/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/username/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root
|
||||
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/username/project/src/b.ts 500 undefined Project: /home/username/project/tsconfig.json WatchType: Missing file
|
||||
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/username/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms
|
||||
Info seq [hh:mm:ss:mss] Project '/home/username/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
/a/lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }"
|
||||
/home/username/project/src/a.ts SVC-1-0 "export const a = 10;"
|
||||
/home/username/project/src/c.ts SVC-1-0 "export const b = 10;"
|
||||
|
||||
|
||||
../../../a/lib/lib.d.ts
|
||||
Default library for target 'es5'
|
||||
src/a.ts
|
||||
Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
|
||||
src/c.ts
|
||||
Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/home/username/project/tsconfig.json",
|
||||
"configFile": "/home/username/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/username/project/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] Files (2)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/a.ts ProjectRootPath: /home/username/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/c.ts ProjectRootPath: /home/username/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/username/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)
|
||||
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 '/home/username/project/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] Files (0)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/a.ts ProjectRootPath: /home/username/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/c.ts ProjectRootPath: /home/username/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] got projects updated in background /home/username/project/src/a.ts,/home/username/project/src/c.ts
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "projectsUpdatedInBackground",
|
||||
"body": {
|
||||
"openFiles": [
|
||||
"/home/username/project/src/a.ts",
|
||||
"/home/username/project/src/c.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
After running Timeout callback:: count: 0
|
||||
|
||||
PolledWatches::
|
||||
/home/username/project/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
/home/username/project/src/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
|
||||
PolledWatches *deleted*::
|
||||
/home/username/project/src/b.ts:
|
||||
{"pollingInterval":500}
|
||||
/home/username/project/src/jsconfig.json:
|
||||
{"pollingInterval":2000}
|
||||
/home/username/project/src/tsconfig.json:
|
||||
{"pollingInterval":2000}
|
||||
|
||||
FsWatches::
|
||||
/a/lib/lib.d.ts:
|
||||
{"inode":10}
|
||||
/home/username/project/src:
|
||||
{"inode":4}
|
||||
/home/username/project/tsconfig.json:
|
||||
{"inode":7}
|
||||
|
||||
Projects::
|
||||
/dev/null/inferredProject1* (Inferred) *changed*
|
||||
projectStateVersion: 2 *changed*
|
||||
projectProgramVersion: 2 *changed*
|
||||
isOrphan: true *changed*
|
||||
/home/username/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 3
|
||||
projectProgramVersion: 3 *changed*
|
||||
dirty: false *changed*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.d.ts *changed*
|
||||
version: Text-1
|
||||
containingProjects: 1 *changed*
|
||||
/home/username/project/tsconfig.json
|
||||
/dev/null/inferredProject1* *deleted*
|
||||
/home/username/project/src/a.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/home/username/project/tsconfig.json *default*
|
||||
/home/username/project/src/c.ts (Open) *changed*
|
||||
version: SVC-1-0
|
||||
containingProjects: 1 *changed*
|
||||
/home/username/project/tsconfig.json *default* *new*
|
||||
/dev/null/inferredProject1* *deleted*
|
||||
|
||||
Before request
|
||||
|
||||
Info seq [hh:mm:ss:mss] request:
|
||||
{
|
||||
"command": "close",
|
||||
"arguments": {
|
||||
"file": "/home/username/project/src/c.ts"
|
||||
},
|
||||
"seq": 3,
|
||||
"type": "request"
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/c.ts 500 undefined WatchType: Closed Script info
|
||||
Info seq [hh:mm:ss:mss] Project '/home/username/project/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] Files (0)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/a.ts ProjectRootPath: /home/username/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"responseRequired": false
|
||||
}
|
||||
After request
|
||||
|
||||
PolledWatches::
|
||||
/home/username/project/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
/home/username/project/src/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
|
||||
FsWatches::
|
||||
/a/lib/lib.d.ts:
|
||||
{"inode":10}
|
||||
/home/username/project/src:
|
||||
{"inode":4}
|
||||
/home/username/project/src/c.ts: *new*
|
||||
{"inode":11}
|
||||
/home/username/project/tsconfig.json:
|
||||
{"inode":7}
|
||||
|
||||
Projects::
|
||||
/dev/null/inferredProject1* (Inferred)
|
||||
projectStateVersion: 2
|
||||
projectProgramVersion: 2
|
||||
isOrphan: true
|
||||
/home/username/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 4 *changed*
|
||||
projectProgramVersion: 3
|
||||
dirty: true *changed*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.d.ts
|
||||
version: Text-1
|
||||
containingProjects: 1
|
||||
/home/username/project/tsconfig.json
|
||||
/home/username/project/src/a.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/home/username/project/tsconfig.json *default*
|
||||
/home/username/project/src/c.ts *changed*
|
||||
open: false *changed*
|
||||
version: SVC-1-0
|
||||
pendingReloadFromDisk: true *changed*
|
||||
containingProjects: 1
|
||||
/home/username/project/tsconfig.json
|
||||
@ -568,34 +568,6 @@ Info seq [hh:mm:ss:mss] Files (2)
|
||||
/user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -559,34 +559,6 @@ Info seq [hh:mm:ss:mss] Files (3)
|
||||
/user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nexport function fn3() { }"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -568,34 +568,6 @@ Info seq [hh:mm:ss:mss] Files (2)
|
||||
/user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -559,34 +559,6 @@ Info seq [hh:mm:ss:mss] Files (3)
|
||||
/user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nfunction fn3() { }"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -568,34 +568,6 @@ Info seq [hh:mm:ss:mss] Files (2)
|
||||
/user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -559,34 +559,6 @@ Info seq [hh:mm:ss:mss] Files (3)
|
||||
/user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nexport function fn3() { }"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -568,34 +568,6 @@ Info seq [hh:mm:ss:mss] Files (2)
|
||||
/user/username/projects/myproject/dependency/fns.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nfunction fn3() { }"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -559,34 +559,6 @@ Info seq [hh:mm:ss:mss] Files (3)
|
||||
/user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nfunction fn3() { }"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/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/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -350,22 +350,6 @@ Info seq [hh:mm:ss:mss] Files (3)
|
||||
/user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nexport function fn3() { }"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -350,22 +350,6 @@ Info seq [hh:mm:ss:mss] Files (3)
|
||||
/user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nfunction fn3() { }"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -350,22 +350,6 @@ Info seq [hh:mm:ss:mss] Files (3)
|
||||
/user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nexport function fn3() { }"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -350,22 +350,6 @@ Info seq [hh:mm:ss:mss] Files (3)
|
||||
/user/username/projects/myproject/usage/usage.ts SVC-1-1 "import {\n fn1,\n fn2,\n} from '../decls/fns'\nfn1();\nfn2();\nfunction fn3() { }"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined
|
||||
Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/usage/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
|
||||
@ -412,6 +412,63 @@ Info seq [hh:mm:ss:mss] event:
|
||||
}
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/user/username/projects/myproject/b/tsconfig.json",
|
||||
"configFile": "/user/username/projects/myproject/b/tsconfig.json",
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'",
|
||||
"code": 6053,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Array'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Boolean'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Function'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'IArguments'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Number'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Object'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'RegExp'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'String'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/b
|
||||
Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/b/index.ts position 13 in project /user/username/projects/myproject/b/tsconfig.json
|
||||
|
||||
@ -398,6 +398,63 @@ Info seq [hh:mm:ss:mss] event:
|
||||
}
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/user/username/projects/myproject/b/tsconfig.json",
|
||||
"configFile": "/user/username/projects/myproject/b/tsconfig.json",
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'",
|
||||
"code": 6053,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Array'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Boolean'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Function'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'IArguments'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Number'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Object'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'RegExp'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'String'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/b
|
||||
Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/b/index.ts position 13 in project /user/username/projects/myproject/b/tsconfig.json
|
||||
|
||||
@ -410,6 +410,63 @@ Info seq [hh:mm:ss:mss] event:
|
||||
}
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/user/username/projects/myproject/b/tsconfig.json",
|
||||
"configFile": "/user/username/projects/myproject/b/tsconfig.json",
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'",
|
||||
"code": 6053,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Array'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Boolean'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Function'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'IArguments'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Number'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'Object'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'RegExp'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
},
|
||||
{
|
||||
"text": "Cannot find global type 'String'.",
|
||||
"code": 2318,
|
||||
"category": "error"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/b
|
||||
Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/b/index.ts position 13 in project /user/username/projects/myproject/b/tsconfig.json
|
||||
|
||||
@ -760,6 +760,17 @@ Info seq [hh:mm:ss:mss] Files (3)
|
||||
Matched by default include pattern '**/*'
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/users/username/projects/project/tsconfig.json",
|
||||
"configFile": "/users/username/projects/project/tsconfig.json",
|
||||
"diagnostics": []
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user