Home
last modified time | relevance | path

Searched refs:formatOptions (Results 1 – 22 of 22) sorted by relevance

/third_party/typescript/src/testRunner/unittests/tsserver/
DformatSettings.ts16 projectService.setHostConfiguration({ formatOptions: newGlobalSettings1 });
24 … projectService.setHostConfiguration({ formatOptions: newPerFileSettings, file: f1.path });
32 projectService.setHostConfiguration({ formatOptions: newGlobalSettings2 });
Drename.ts47 …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: …
Dsession.ts115 formatOptions: {
140 formatOptions: {
324 formatOptions: {
713 formatOptions: {
Drefactors.ts15 formatOptions: {
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/cache/
Dkey.js4 const formatOptions = { variable
14 return `make-fetch-happen:request-cache:${format(parsed, formatOptions)}`
/third_party/typescript/src/services/
Dtypes.ts453 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,…
Dservices.ts2097 …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 …]
Dshims.ts155 …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…
DtextChanges.ts1099 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 });
Dcompletions.ts1271 const formatOptions = getFormatCodeSettingsForWriting(formatContext, sourceFile); constant
1280 { ...formatContext, options: formatOptions });
/third_party/typescript/src/harness/
DharnessLanguageService.ts496 …onEntryDetails(fileName: string, position: number, entryName: string, formatOptions: ts.FormatCode…
497 …tCompletionEntryDetails(fileName, position, entryName, JSON.stringify(formatOptions), source, pref…
Dclient.ts135 setFormattingOptions(formatOptions: FormatCodeSettings) {
136 const args: protocol.ConfigureRequestArguments = { formatOptions };
DfourslashImpl.ts2553 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/
Dsession.ts2018 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);
Dprotocol.ts1555 formatOptions?: FormatCodeSettings; property
DeditorServices.ts3002 info.setOptions(convertFormatOptions(args.formatOptions!), args.preferences);
3011 if (args.formatOptions) {
3012 …ons = { ...this.hostConfiguration.formatCodeOptions, ...convertFormatOptions(args.formatOptions) };
/third_party/typescript/lib/
Dprotocol.d.ts1129 formatOptions?: FormatCodeSettings; property
Dtsserverlibrary.d.ts6344 …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;
Dtypescript.d.ts6344 …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,…
DtypescriptServices.d.ts6344 …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/
Dtsserverlibrary.d.ts6344 …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;
Dtypescript.d.ts6344 …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,…