Vscode: JavaScript Does not deindent brace on next line of if block

Created on 16 Aug 2017  路  5Comments  路  Source: microsoft/vscode

Follow up on https://github.com/Microsoft/vscode/issues/30933

Repo


  1. ```js
    if (true) |

2. press return and then `{`


**expected**

```js
if (true)
{
     |
}

actual

if (true)
    {
         |
    }
bug editor-autoindent javascript

Most helpful comment

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

All 5 comments

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.

@ericdrobinson Agreed - this _is_ simply a duplicate of #30933.

@mjbvz When will your latest fix reach release?

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

Yay - that fixed it! @mjbvz Thank you.

Thanks @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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

biij5698 picture biij5698  路  3Comments

lukehoban picture lukehoban  路  3Comments

villiv picture villiv  路  3Comments

chrisdias picture chrisdias  路  3Comments

borekb picture borekb  路  3Comments