Skip to content

JavaScript Does not deindent brace on next line of if block #32653

Closed

Description

@mjbvz

Follow up on #30933

Repo

if (true) |
  1. press return and then {

expected

if (true)
{
     |
}

actual

if (true)
    {
         |
    }

Activity

  1. added
    editor-autoindent
    javascript
    on Aug 16, 2017
  2. added
    bug
    on Aug 16, 2017
  3. ericdrobinson commented on Aug 16, 2017

    @ericdrobinson

    This is simply a duplicate of #30933, which is not actually fixed yet. A somewhat related issue was identified and fixed(?) through the history of that issue.

  4. simonl65 commented on Aug 17, 2017

    @simonl65

    Eric Robinson (@ericdrobinson) Agreed - this is simply a duplicate of #30933.

    Matt Bierner (@mjbvz) When will your latest fix reach release?

  5. mjbvz commented on Aug 17, 2017

    @mjbvz
    ContributorAuthor

    Yes, I didn't read the original issue correctly. This is a duplicate of #30933

    This should be fixed in insiders builds already and will go into VSCode 1.16

  6. simonl65 commented on Aug 17, 2017

    @simonl65

    Yay - that fixed it! Matt Bierner (@mjbvz) Thank you.

  7. davidstlyoui commented on Aug 28, 2017

    @davidstlyoui

    Thanks Matt Bierner (@mjbvz) I tested and it would appear that it's fixed!
    You have no idea how painful it was to code in the last ~2 months.

  8. locked and limited conversation to collaborators on Nov 17, 2017
  9. added a commit that references this issue on Sep 6, 2026
    bfaef12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugeditor-autoindentjavascript

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions