* Fix incorrectly looking for position in call/new expression arguments when looking for indentation of type arguments Fixes #32487 * Update src/services/formatting/smartIndenter.ts Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
18 lines
400 B
TypeScript
18 lines
400 B
TypeScript
/// <reference path="fourslash.ts"/>
|
|
|
|
////const genericObject = new GenericObject<
|
|
//// /*1*/{}
|
|
////>();
|
|
////const genericObject2 = new GenericObject2<
|
|
//// /*2*/{},
|
|
//// /*3*/{}
|
|
////>();
|
|
|
|
format.document();
|
|
|
|
goTo.marker("1");
|
|
verify.currentLineContentIs(" {}");
|
|
goTo.marker("2");
|
|
verify.currentLineContentIs(" {},");
|
|
goTo.marker("3");
|
|
verify.currentLineContentIs(" {}"); |