/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | symLinks.ts | 46 { file: aFile, projectRootPath: folderA }, 47 { file: bFile, projectRootPath: folderB }, 48 { file: aFc, projectRootPath: folderA }, 49 { file: bFc, projectRootPath: folderB }, 57 const projectRootPath = "/users/username/projects/myproject"; constant 58 const packages = `${projectRootPath}/javascript/packages`; 114 projectRootPath
|
D | watchEnvironment.ts | 199 openFilesForSession([{ file: commonFile1, projectRootPath: "/a/b" }], session); 220 openFilesForSession([{ file: commonFile1, projectRootPath: "/a/b" }], session); 241 openFilesForSession([{ file: commonFile1, projectRootPath: "/a/b" }], session); 258 openFilesForSession([{ file: commonFile1, projectRootPath: "/a/b" }], session); 275 openFilesForSession([{ file: commonFile1, projectRootPath: "/a/b" }], session); 300 openFilesForSession([{ file: commonFile1, projectRootPath: "/a/b" }], session); 409 projectRootPath: tscWatch.projectRoot 412 … openFilesForSession([{ file: main, projectRootPath: tscWatch.projectRoot }], session); 441 function verifyFileNames(scenario: string, projectRootPath: string) { 444 path: `${projectRootPath}/foo.ts`, [all …]
|
D | inferredProjects.ts | 144 const file1 = { path: "/a/file1.ts", content: "let x = 1;", projectRootPath: "/a" }; 145 const file2 = { path: "/a/file2.ts", content: "let y = 2;", projectRootPath: "/a" }; 146 const file3 = { path: "/b/file2.ts", content: "let x = 3;", projectRootPath: "/b" }; 173 projectRootPath: "/b" 184 projectRootPath: file1.projectRootPath 195 projectRootPath: file2.projectRootPath 206 projectRootPath: file3.projectRootPath
|
D | forceConsistentCasingInFileNames.ts | 63 … openFilesForSession([{ file: loggerFile, projectRootPath: tscWatch.projectRoot }], session); 69 …FilesForSession([{ file: newLoggerPath, content: loggerFile.content, projectRootPath: tscWatch.pro… 72 … openFilesForSession([{ file: anotherFile, projectRootPath: tscWatch.projectRoot }], session); 112 … openFilesForSession([{ file: anotherFile, projectRootPath: tscWatch.projectRoot }], session);
|
D | projects.ts | 394 projectRootPath: "/", 1268 const projectRootPath = "/users/username/projects/project"; constant 1270 path: `${projectRootPath}/a.ts`, 1274 path: `${projectRootPath}/tsconfig.json`, 1288 const projectRootPath = "/users/username/projects/project"; constant 1290 path: `${projectRootPath}/A/a.ts`, 1294 path: `${projectRootPath}/A/tsconfig.json`, 1303 path: `${projectRootPath}/B/b.ts`, 1307 path: `${projectRootPath}/B/tsconfig.json`, 1359 const projectRootPath = "/users/username/projects/project"; constant [all …]
|
D | projectErrors.ts | 248 projectRootPath: useProjectRoot ? folderPath : undefined 333 openFilesForSession([{ file: app, projectRootPath: tscWatch.projectRoot }], session); 334 … openFilesForSession([{ file: backendTest, projectRootPath: tscWatch.projectRoot }], session); 337 …openFilesForSession([{ file: serverUtilities.path, projectRootPath: tscWatch.projectRoot }], sessi… 343 const projectRootPath = "/users/username/projects/myproject"; constant 345 path: `${projectRootPath}/src/a.ts`, 352 path: `${projectRootPath}/tsconfig.json`, 356 path: `${projectRootPath}/node_modules/@custom/plugin/index.d.ts`, 363 path: `${projectRootPath}/node_modules/@custom/plugin/proposed.d.ts`, 831 openFilesForSession([{ file: main, projectRootPath: tscWatch.projectRoot }], session);
|
D | configFileSearch.ts | 123 function verifyConfigFileWatch(scenario: string, projectRootPath: string | undefined) { 128 …service.openClientFile(path, /*fileContent*/ undefined, /*scriptKind*/ undefined, projectRootPath);
|
D | dynamicFiles.ts | 38 projectRootPath: "/proj", 209 … openFilesForSession([{ file: file.path, projectRootPath: tscWatch.projectRoot }], session);
|
D | helpers.ts | 797 …ion(files: readonly (File | { readonly file: File | string, readonly projectRootPath: string, cont… 800 …peof file.file === "string" ? file.file : file.file.path, projectRootPath: file.projectRootPath } …
|
D | typingsInstaller.ts | 2107 const projectRootPath = `${projects}/san2`; constant 2109 path: `${projectRootPath}/x.js`, 2169 projectService.openClientFile(file.path, file.content, ScriptKind.JS, projectRootPath);
|
D | configuredProjects.ts | 862 projectRootPath: tscWatch.projectRoot 873 projectRootPath: tscWatch.projectRoot
|
D | resolutionCache.ts | 118 projectRootPath: folderPath
|
/third_party/typescript/src/server/ |
D | editorServices.ts | 640 projectRootPath?: string; property 1100 …cts(projectCompilerOptions: protocol.InferredProjectCompilerOptions, projectRootPath?: string): vo… 1101 …Debug.assert(projectRootPath === undefined || this.useInferredProjectPerProjectRoot, "Setting comp… 1104 const watchOptions = convertWatchOptions(projectCompilerOptions, projectRootPath); 1110 … const canonicalProjectRootPath = projectRootPath && this.toCanonicalFileName(projectRootPath); 1132 project.projectRootPath === canonicalProjectRootPath : 1133 …!project.projectRootPath || !this.compilerOptionsForInferredProjectsPerProjectRoot.has(project.pro… 1494 …assignOrphanScriptInfoToInferredProject(info: ScriptInfo, projectRootPath: NormalizedPath | undefi… 1497 …onst project = this.getOrCreateInferredProjectForProjectRootPathIfEnabled(info, projectRootPath) || 1501 projectRootPath || this.currentDirectory : [all …]
|
D | utilitiesPublic.ts | 42 projectRootPath: project.getCurrentDirectory() as Path,
|
D | typingsCache.ts | 4 projectRootPath: Path; property
|
D | project.ts | 443 …ngsCache.installPackage({ ...options, projectName: this.projectName, projectRootPath: this.toPath(… 2045 readonly projectRootPath: string | undefined; property in ts.server.InferredProject 2057 projectRootPath: NormalizedPath | undefined, 2074 … this.projectRootPath = projectRootPath && projectService.toCanonicalFileName(projectRootPath); 2075 if (!projectRootPath && !projectService.useSingleInferredProject) { 2109 return (!this.projectRootPath && !this.projectService.useSingleInferredProject) ||
|
D | protocol.ts | 1685 projectRootPath?: string; property 1883 projectRootPath?: string; property
|
D | session.ts | 1679 … this.projectService.setCompilerOptionsForInferredProjects(args.options, args.projectRootPath); 1858 …Name: NormalizedPath, fileContent?: string, scriptKind?: ScriptKind, projectRootPath?: NormalizedP… 1859 …eWithNormalizedPath(fileName, fileContent, scriptKind, /*hasMixedContent*/ false, projectRootPath); 2968 projectRootPath: file.projectRootPath 3048 …request.arguments.projectRootPath ? toNormalizedPath(request.arguments.projectRootPath) : undefine…
|
/third_party/typescript/src/jsTyping/ |
D | jsTyping.ts | 122 projectRootPath: Path, 154 possibleSearchDirs.add(projectRootPath); 219 …function getTypingNames(projectRootPath: string, manifestName: string, modulesDirName: string, fil… 223 const manifestPath = combinePaths(projectRootPath, manifestName); 237 const packagesFolderPath = combinePaths(projectRootPath, modulesDirName);
|
D | types.ts | 15 readonly projectRootPath: Path; property 36 readonly projectRootPath: Path; property
|
/third_party/typescript/src/typingsInstallerCore/ |
D | typingsInstaller.ts | 170 req.projectRootPath, 183 ….watchFiles(req.projectName, discoverTypingsResult.filesToWatch, req.projectRootPath, req.watchOpt… 411 …private watchFiles(projectName: string, files: string[], projectRootPath: Path, options: WatchOpti… 478 …if (containsPath(projectRootPath, file, projectRootPath, !this.installTypingHost.useCaseSensitiveF… 479 … const subDirectory = file.indexOf(directorySeparator, projectRootPath.length + 1); 492 …if (containsPath(this.globalCachePath, file, projectRootPath, !this.installTypingHost.useCaseSensi…
|
/third_party/typescript/src/typingsInstaller/ |
D | nodeTypingsInstaller.ts | 157 const { fileName, packageName, projectName, projectRootPath } = req; constant 158 … const cwd = getDirectoryOfPackageJson(fileName, this.installTypingHost) || projectRootPath;
|
/third_party/typescript/src/services/ |
D | shims.ts | 28 projectRootPath: string; // The path to the project root directory property 1280 toPath(info.projectRootPath, info.projectRootPath, getCanonicalFileName),
|
/third_party/typescript/lib/ |
D | protocol.d.ts | 1238 projectRootPath?: string; property 1368 projectRootPath?: string; property
|
D | tsserverlibrary.d.ts | 5995 readonly projectRootPath: Path; property 6013 readonly projectRootPath: Path; property 8743 projectRootPath?: string; 8873 projectRootPath?: string; 10468 projectRootPath: Path; property 10668 readonly projectRootPath: string | undefined; 10980 …cts(projectCompilerOptions: protocol.InferredProjectCompilerOptions, projectRootPath?: string): vo… 11106 …ile(fileName: string, fileContent?: string, scriptKind?: ScriptKind, projectRootPath?: string): Op… 11113 …ontent?: string, scriptKind?: ScriptKind, hasMixedContent?: boolean, projectRootPath?: NormalizedP…
|