TypeScript/tests/cases/fourslash/chainedFunctionFunctionArgIndent.ts

12 lines
332 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts' />
//// declare var $: any;
//// $(".contentDiv").each(function (index, element) {/**/
//// // <-- ensure cursor is here after return on above
//// });
2014-07-13 01:04:16 +02:00
goTo.marker();
edit.insert("\n");
verify.indentationIs(4);
edit.insert("}");
verify.indentationIs(4); // keep arguments indented