Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No indentation gets inserted after comment on enter key press #9446

Open
saschanaz opened this issue Jun 30, 2016 · 0 comments
Open

No indentation gets inserted after comment on enter key press #9446

saschanaz opened this issue Jun 30, 2016 · 0 comments
Labels
Bug A bug in TypeScript Domain: Formatter The issue relates to the built-in formatter Help Wanted You can do this
Milestone

Comments

@saschanaz
Copy link
Contributor

TypeScript Version: The master branch as of 7b77f6b

Code

Put the cursor on '|' position and press enter.

function foo() {
    window.addEventListener("click", () => { |/* foo */ })
}

Expected behavior:

function foo() {
    window.addEventListener("click", () => { 
        /* foo */
    })
}

Actual behavior:

function foo() {
    window.addEventListener("click", () => { 
        /* foo */
})
}
@mhegazy mhegazy added Bug A bug in TypeScript Help Wanted You can do this Domain: Formatter The issue relates to the built-in formatter labels Jul 4, 2016
@mhegazy mhegazy added this to the Community milestone Jul 4, 2016
@RyanCavanaugh RyanCavanaugh modified the milestones: Community, Backlog Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Domain: Formatter The issue relates to the built-in formatter Help Wanted You can do this
Projects
None yet
Development

No branches or pull requests

3 participants