Skip to content

Formatter dedents after typing inline comment #16824

Closed
@ghost

Description

TypeScript Version: nightly (2.5.0-dev.20170629)

Code

function f() {
	f();
}

Navigate inside the parentheses in f() and type /*comment*/

Expected behavior:

function f() {
	f(/*comment*/);
}

Actual behavior:

function f() {
f(/*comment*/);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: FormatterThe issue relates to the built-in formatter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions