TypeScript/tests/cases/fourslash/formatWithTabs2.ts
Vladimir Matveev b060107b51 recompute character to column when comparing indentations (#12375)
recompute character to column when comparing indentations
2016-11-21 11:34:09 -08:00

16 lines
303 B
TypeScript

/// <reference path="fourslash.ts"/>
////const foo = [
//// 1
////];
const options = format.copyFormatOptions();
options.IndentSize = 2;
options.TabSize = 2;
options.ConvertTabsToSpaces = false;
format.setFormatOptions(options);
format.document();
verify.currentFileContentIs(
`const foo = [
1
];`);