/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | formatSettings.ts | 16 projectService.setHostConfiguration({ formatOptions: newGlobalSettings1 }); 24 … projectService.setHostConfiguration({ formatOptions: newPerFileSettings, file: f1.path }); 32 projectService.setHostConfiguration({ formatOptions: newGlobalSettings2 });
|
D | rename.ts | 47 …session.getProjectService().setHostConfiguration({ file: "/b.ts", formatOptions: {}, preferences: … 144 …session.getProjectService().setHostConfiguration({ file: "/a.ts", formatOptions: {}, preferences: … 222 …session.getProjectService().setHostConfiguration({ file: "/a.ts", formatOptions: {}, preferences: …
|
D | session.ts | 115 formatOptions: { 140 formatOptions: { 324 formatOptions: { 713 formatOptions: {
|
D | refactors.ts | 15 formatOptions: {
|
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/cache/ |
D | key.js | 4 const formatOptions = { variable 14 return `make-fetch-happen:request-cache:${format(parsed, formatOptions)}`
|
/third_party/typescript/src/services/ |
D | types.ts | 453 formatOptions: FormatCodeOptions | FormatCodeSettings | undefined, 539 …e: string, start: number, end: number, errorCodes: readonly number[], formatOptions: FormatCodeSet… 540 …getCombinedCodeFix(scope: CombinedCodeFixScope, fixId: {}, formatOptions: FormatCodeSettings, pref… 553 …getEditsForRefactor(fileName: string, formatOptions: FormatCodeSettings, positionOrRange: number |… 554 …organizeImports(args: OrganizeImportsArgs, formatOptions: FormatCodeSettings, preferences: UserPre… 555 …getEditsForFileRename(oldFilePath: string, newFilePath: string, formatOptions: FormatCodeSettings,…
|
D | services.ts | 2097 …e: string, start: number, end: number, errorCodes: readonly number[], formatOptions: FormatCodeSet… 2101 const formatContext = formatting.getFormatContext(formatOptions, host); 2109 …function getCombinedCodeFix(scope: CombinedCodeFixScope, fixId: {}, formatOptions: FormatCodeSetti… 2113 const formatContext = formatting.getFormatContext(formatOptions, host); 2118 …function organizeImports(args: OrganizeImportsArgs, formatOptions: FormatCodeSettings, preferences… 2122 const formatContext = formatting.getFormatContext(formatOptions, host); 2128 …function getEditsForFileRename(oldFilePath: string, newFilePath: string, formatOptions: FormatCode… 2129 …ogram()!, oldFilePath, newFilePath, host, formatting.getFormatContext(formatOptions, host), prefer… 2612 …e, positionOrRange: number | TextRange, preferences: UserPreferences, formatOptions?: FormatCodeSe… 2620 formatContext: formatting.getFormatContext(formatOptions!, host), // TODO: GH#18217 [all …]
|
D | shims.ts | 155 …onEntryDetails(fileName: string, position: number, entryName: string, formatOptions: string/*Servi… 967 …onEntryDetails(fileName: string, position: number, entryName: string, formatOptions: string/*Servi… 971 …const localOptions: FormatCodeOptions = formatOptions === undefined ? undefined : JSON.parse(forma…
|
D | textChanges.ts | 1099 const formatOptions = getFormatCodeSettingsForWriting(formatContext, sourceFile); constant 1103 …: formatting.SmartIndenter.getIndentation(pos, sourceFile, formatOptions, prefix === newLineCharac… 1105 …delta = formatting.SmartIndenter.shouldIndentChildNode(formatOptions, nodeIn) ? (formatOptions.ind… 1114 …urceFile.languageVariant, initialIndentation, delta, { ...formatContext, options: formatOptions });
|
D | completions.ts | 1271 const formatOptions = getFormatCodeSettingsForWriting(formatContext, sourceFile); constant 1280 { ...formatContext, options: formatOptions });
|
/third_party/typescript/src/harness/ |
D | harnessLanguageService.ts | 496 …onEntryDetails(fileName: string, position: number, entryName: string, formatOptions: ts.FormatCode… 497 …tCompletionEntryDetails(fileName, position, entryName, JSON.stringify(formatOptions), source, pref…
|
D | client.ts | 135 setFormattingOptions(formatOptions: FormatCodeSettings) { 136 const args: protocol.ConfigureRequestArguments = { formatOptions };
|
D | fourslashImpl.ts | 2553 const formatOptions = ts.clone(this.formatCodeSettings); constant 2554 formatOptions.indentStyle = indentStyle; 2555 formatOptions.baseIndentSize = baseIndentSize; 2556 return this.languageService.getIndentationAtPosition(fileName, position, formatOptions);
|
/third_party/typescript/src/server/ |
D | session.ts | 2018 const formatOptions = this.getFormatOptions(file); constant 2020 formatOptions); 2030 … const preferredIndent = languageService.getIndentationAtPosition(file, position, formatOptions); 2038 hasIndent += formatOptions.tabSize!; // TODO: GH#18217 2049 newText: formatting.getIndentationString(preferredIndent, formatOptions) 2559 const formatOptions = this.getHostFormatOptions(); constant 2570 …= project.getLanguageService().getEditsForFileRename(oldPath, newPath, formatOptions, preferences);
|
D | protocol.ts | 1555 formatOptions?: FormatCodeSettings; property
|
D | editorServices.ts | 3002 info.setOptions(convertFormatOptions(args.formatOptions!), args.preferences); 3011 if (args.formatOptions) { 3012 …ons = { ...this.hostConfiguration.formatCodeOptions, ...convertFormatOptions(args.formatOptions) };
|
/third_party/typescript/lib/ |
D | protocol.d.ts | 1129 formatOptions?: FormatCodeSettings; property
|
D | tsserverlibrary.d.ts | 6344 …onEntryDetails(fileName: string, position: number, entryName: string, formatOptions: FormatCodeOpt… 6395 …e: string, start: number, end: number, errorCodes: readonly number[], formatOptions: FormatCodeSet… 6396 …getCombinedCodeFix(scope: CombinedCodeFixScope, fixId: {}, formatOptions: FormatCodeSettings, pref… 6407 …getEditsForRefactor(fileName: string, formatOptions: FormatCodeSettings, positionOrRange: number |… 6408 …organizeImports(args: OrganizeImportsArgs, formatOptions: FormatCodeSettings, preferences: UserPre… 6409 …getEditsForFileRename(oldFilePath: string, newFilePath: string, formatOptions: FormatCodeSettings,… 8654 formatOptions?: FormatCodeSettings;
|
D | typescript.d.ts | 6344 …onEntryDetails(fileName: string, position: number, entryName: string, formatOptions: FormatCodeOpt… 6395 …e: string, start: number, end: number, errorCodes: readonly number[], formatOptions: FormatCodeSet… 6396 …getCombinedCodeFix(scope: CombinedCodeFixScope, fixId: {}, formatOptions: FormatCodeSettings, pref… 6407 …getEditsForRefactor(fileName: string, formatOptions: FormatCodeSettings, positionOrRange: number |… 6408 …organizeImports(args: OrganizeImportsArgs, formatOptions: FormatCodeSettings, preferences: UserPre… 6409 …getEditsForFileRename(oldFilePath: string, newFilePath: string, formatOptions: FormatCodeSettings,…
|
D | typescriptServices.d.ts | 6344 …onEntryDetails(fileName: string, position: number, entryName: string, formatOptions: FormatCodeOpt… 6395 …e: string, start: number, end: number, errorCodes: readonly number[], formatOptions: FormatCodeSet… 6396 …getCombinedCodeFix(scope: CombinedCodeFixScope, fixId: {}, formatOptions: FormatCodeSettings, pref… 6407 …getEditsForRefactor(fileName: string, formatOptions: FormatCodeSettings, positionOrRange: number |… 6408 …organizeImports(args: OrganizeImportsArgs, formatOptions: FormatCodeSettings, preferences: UserPre… 6409 …getEditsForFileRename(oldFilePath: string, newFilePath: string, formatOptions: FormatCodeSettings,…
|
/third_party/typescript/tests/baselines/reference/api/ |
D | tsserverlibrary.d.ts | 6344 …onEntryDetails(fileName: string, position: number, entryName: string, formatOptions: FormatCodeOpt… 6395 …e: string, start: number, end: number, errorCodes: readonly number[], formatOptions: FormatCodeSet… 6396 …getCombinedCodeFix(scope: CombinedCodeFixScope, fixId: {}, formatOptions: FormatCodeSettings, pref… 6407 …getEditsForRefactor(fileName: string, formatOptions: FormatCodeSettings, positionOrRange: number |… 6408 …organizeImports(args: OrganizeImportsArgs, formatOptions: FormatCodeSettings, preferences: UserPre… 6409 …getEditsForFileRename(oldFilePath: string, newFilePath: string, formatOptions: FormatCodeSettings,… 8654 formatOptions?: FormatCodeSettings;
|
D | typescript.d.ts | 6344 …onEntryDetails(fileName: string, position: number, entryName: string, formatOptions: FormatCodeOpt… 6395 …e: string, start: number, end: number, errorCodes: readonly number[], formatOptions: FormatCodeSet… 6396 …getCombinedCodeFix(scope: CombinedCodeFixScope, fixId: {}, formatOptions: FormatCodeSettings, pref… 6407 …getEditsForRefactor(fileName: string, formatOptions: FormatCodeSettings, positionOrRange: number |… 6408 …organizeImports(args: OrganizeImportsArgs, formatOptions: FormatCodeSettings, preferences: UserPre… 6409 …getEditsForFileRename(oldFilePath: string, newFilePath: string, formatOptions: FormatCodeSettings,…
|