Home
last modified time | relevance | path

Searched refs:indentSize (Results 1 – 21 of 21) sorted by relevance

/third_party/typescript/tests/baselines/reference/
Dparserindenter.js188 var indentSize = 0; variable
194indentSize = (indentSize + editorOptions.TabSize) - (indentSize % editorOptions.TabSize);
196 indentSize += 1;
199 indentSize += 1;
205 return indentSize;
427 var indentSize = this.editorOptions.IndentSize;
443 totalIndent += level * indentSize;
450 var totalIndentSize = level * indentSize;
896 var indentSize = 0;
900indentSize = (indentSize + editorOptions.TabSize) - (indentSize % editorOptions.TabSize);
[all …]
Dparserindenter.types755 var indentSize = 0;
756 >indentSize : number
783indentSize = (indentSize + editorOptions.TabSize) - (indentSize % editorOptions.TabSize);
784 >indentSize = (indentSize + editorOptions.TabSize) - (indentSize % editorOptions.TabSize) : number
785 >indentSize : number
786 >(indentSize + editorOptions.TabSize) - (indentSize % editorOptions.TabSize) : number
787 >(indentSize + editorOptions.TabSize) : any
788 >indentSize + editorOptions.TabSize : any
789 >indentSize : number
793 >(indentSize % editorOptions.TabSize) : number
[all …]
Dparserindenter.symbols494 var indentSize = 0;
495 >indentSize : Symbol(indentSize, Decl(parserindenter.ts, 186, 15))
515indentSize = (indentSize + editorOptions.TabSize) - (indentSize % editorOptions.TabSize);
516 >indentSize : Symbol(indentSize, Decl(parserindenter.ts, 186, 15))
517 >indentSize : Symbol(indentSize, Decl(parserindenter.ts, 186, 15))
519 >indentSize : Symbol(indentSize, Decl(parserindenter.ts, 186, 15))
525 indentSize += 1;
526 >indentSize : Symbol(indentSize, Decl(parserindenter.ts, 186, 15))
532 indentSize += 1;
533 >indentSize : Symbol(indentSize, Decl(parserindenter.ts, 186, 15))
[all …]
Dparserindenter.errors.txt382 var indentSize = 0;
388indentSize = (indentSize + editorOptions.TabSize) - (indentSize % editorOptions.TabSize);
390 indentSize += 1;
393 indentSize += 1;
399 return indentSize;
737 var indentSize = this.editorOptions.IndentSize;
757 totalIndent += level * indentSize;
764 var totalIndentSize = level * indentSize;
884 …rent (not line), relative indentation should be "4 (newIndentSize) - 9 (indentSize up to for) = -5"
890 … relative to line, relative indentation should be "4 (newIndentSize) - 0 (indentSize up to if) = 4"
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/
Dparserindenter.ts187 var indentSize = 0;
193indentSize = (indentSize + editorOptions.TabSize) - (indentSize % editorOptions.TabSize);
195 indentSize += 1;
198 indentSize += 1;
204 return indentSize;
426 var indentSize = this.editorOptions.IndentSize;
442 totalIndent += level * indentSize;
449 var totalIndentSize = level * indentSize;
/third_party/typescript/src/services/formatting/
Dformatting.ts337 return options.indentSize!;
431 ? initialIndentation + options.indentSize!
530 … const delta = SmartIndenter.shouldIndentChildNode(options, node) ? options.indentSize! : 0;
538 … delta: Math.min(options.indentSize!, parentDynamicIndentation.getDelta(node) + delta)
623 indentation += lineAdded ? options.indentSize! : -options.indentSize!;
624 … delta = SmartIndenter.shouldIndentChildNode(options, node) ? options.indentSize! : 0;
846 …entation(parent, parentStartLine, indentationOnListStartToken, options.indentSize!); // TODO: GH#1…
1401 let internedSizes: { tabSize: number; indentSize: number; }; variable
1408 … || (internedSizes.tabSize !== options.tabSize || internedSizes.indentSize !== options.indentSize);
1411 internedSizes = { tabSize: options.tabSize!, indentSize: options.indentSize! };
[all …]
DsmartIndenter.ts96 const indentSize = useTheSameBaseIndentation ? 0 : options.indentSize!; constant
97 …ctualIndentationForListStartLine(containerList, sourceFile, options) + indentSize; // TODO: GH#182…
152 …ssumeNewLineBeforeCloseBrace && nextTokenKind === NextTokenKind.CloseBrace ? options.indentSize : 0
153 : lineAtPosition !== currentStart.line ? options.indentSize : 0;
241 indentationDelta += options.indentSize!;
517 …ine(containingList, sourceFile, options) + (listIndentsChild ? options.indentSize! : 0); // TODO: …
/third_party/typescript/src/testRunner/unittests/services/
DcancellableLanguageServiceOperations.ts29 indentSize: 4,
/third_party/icu/tools/colprobe/
Dline.h64 UnicodeString strengthIndent(UColAttributeValue strength, int indentSize, UnicodeString &result);
Dline.cpp380 Line::strengthIndent(UColAttributeValue strength, int indentSize, UnicodeString &result) in strengthIndent() argument
389 for(i = 0; i < numIndents*indentSize; i++) { in strengthIndent()
/third_party/typescript/src/testRunner/unittests/tsserver/
Drefactors.ts16 indentSize: 2,
/third_party/typescript/src/services/
Dtypes.ts982 indentSize?: number; property
1034 indentSize: 4,
DtextChanges.ts663 + (this.formatContext.options.indentSize ?? 4);
1105 …g.SmartIndenter.shouldIndentChildNode(formatOptions, nodeIn) ? (formatOptions.indentSize || 0) : 0;
/third_party/typescript/tests/cases/fourslash/
Dfourslash.ts158 indentSize?: number;
/third_party/typescript/src/server/
Dprotocol.ts3418 indentSize?: number; property
/third_party/typescript/lib/
Dprotocol.d.ts2665 indentSize?: number; property
Dtsserverlibrary.d.ts6739 indentSize?: number; property
10170 indentSize?: number;
Dtypescript.d.ts6739 indentSize?: number; property
DtypescriptServices.d.ts6739 indentSize?: number; property
/third_party/typescript/tests/baselines/reference/api/
Dtsserverlibrary.d.ts6739 indentSize?: number; property
10170 indentSize?: number;
Dtypescript.d.ts6739 indentSize?: number; property