{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/29390","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/29390/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/29390/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/29390/events","html_url":"https://github.com/Microsoft/vscode/issues/29390","id":238346444,"number":29390,"title":"Improved auto-indent breaks Allman style indent","user":{"login":"Gama11","id":2620907,"avatar_url":"https://avatars3.githubusercontent.com/u/2620907?v=3","gravatar_id":"","url":"https://api.github.com/users/Gama11","html_url":"https://github.com/Gama11","followers_url":"https://api.github.com/users/Gama11/followers","following_url":"https://api.github.com/users/Gama11/following{/other_user}","gists_url":"https://api.github.com/users/Gama11/gists{/gist_id}","starred_url":"https://api.github.com/users/Gama11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gama11/subscriptions","organizations_url":"https://api.github.com/users/Gama11/orgs","repos_url":"https://api.github.com/users/Gama11/repos","events_url":"https://api.github.com/users/Gama11/events{/privacy}","received_events_url":"https://api.github.com/users/Gama11/received_events","type":"User","site_admin":false},"labels":[{"id":294817667,"url":"https://api.github.com/repos/Microsoft/vscode/labels/editor","name":"editor","color":"1d76db","default":false},{"id":618428717,"url":"https://api.github.com/repos/Microsoft/vscode/labels/insiders","name":"insiders","color":"006b75","default":false}],"state":"open","locked":false,"assignee":{"login":"rebornix","id":876920,"avatar_url":"https://avatars2.githubusercontent.com/u/876920?v=3","gravatar_id":"","url":"https://api.github.com/users/rebornix","html_url":"https://github.com/rebornix","followers_url":"https://api.github.com/users/rebornix/followers","following_url":"https://api.github.com/users/rebornix/following{/other_user}","gists_url":"https://api.github.com/users/rebornix/gists{/gist_id}","starred_url":"https://api.github.com/users/rebornix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebornix/subscriptions","organizations_url":"https://api.github.com/users/rebornix/orgs","repos_url":"https://api.github.com/users/rebornix/repos","events_url":"https://api.github.com/users/rebornix/events{/privacy}","received_events_url":"https://api.github.com/users/rebornix/received_events","type":"User","site_admin":false},"assignees":[{"login":"rebornix","id":876920,"avatar_url":"https://avatars2.githubusercontent.com/u/876920?v=3","gravatar_id":"","url":"https://api.github.com/users/rebornix","html_url":"https://github.com/rebornix","followers_url":"https://api.github.com/users/rebornix/followers","following_url":"https://api.github.com/users/rebornix/following{/other_user}","gists_url":"https://api.github.com/users/rebornix/gists{/gist_id}","starred_url":"https://api.github.com/users/rebornix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebornix/subscriptions","organizations_url":"https://api.github.com/users/rebornix/orgs","repos_url":"https://api.github.com/users/rebornix/repos","events_url":"https://api.github.com/users/rebornix/events{/privacy}","received_events_url":"https://api.github.com/users/rebornix/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-06-24T22:12:59Z","updated_at":"2017-06-26T15:11:17Z","closed_at":null,"body":"- VSCode Version: Code - Insiders 1.14.0-insider (779a7dfa682e31d870680caea572a11d009ab447, 2017-06-23T05:59:57.891Z)\r\n- OS Version: Windows_NT ia32 10.0.15063\r\n\r\n---\r\n\r\nWhile working on adding support for the improved auto-indent mentioned [here](https://github.com/Microsoft/vscode/issues/4039#issuecomment-309484522) to the Haxe extension, I noticed it doesn't work well with Allman bracket style (`{` in new line). This is the behavior for both TS and JS:\r\n\r\n![](http://i.imgur.com/EOuE1eZ.gif)\r\n\r\nThe expected behavior would be to un-indent again when the `{` is typed, take Sublime for example:\r\n\r\n![](http://i.imgur.com/flMPgZS.gif)\r\n\r\nThe `Reindent lines` command also produces incorrect indentation for lines that are already typed:\r\n\r\n![](http://i.imgur.com/aKtcfO8.gif)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/311088777","html_url":"https://github.com/Microsoft/vscode/issues/29390#issuecomment-311088777","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/29390","id":311088777,"user":{"login":"rebornix","id":876920,"avatar_url":"https://avatars2.githubusercontent.com/u/876920?v=3","gravatar_id":"","url":"https://api.github.com/users/rebornix","html_url":"https://github.com/rebornix","followers_url":"https://api.github.com/users/rebornix/followers","following_url":"https://api.github.com/users/rebornix/following{/other_user}","gists_url":"https://api.github.com/users/rebornix/gists{/gist_id}","starred_url":"https://api.github.com/users/rebornix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebornix/subscriptions","organizations_url":"https://api.github.com/users/rebornix/orgs","repos_url":"https://api.github.com/users/rebornix/repos","events_url":"https://api.github.com/users/rebornix/events{/privacy}","received_events_url":"https://api.github.com/users/rebornix/received_events","type":"User","site_admin":false},"created_at":"2017-06-26T15:11:17Z","updated_at":"2017-06-26T15:11:17Z","body":"The reindent one is a bug."}}
{"actor":{"display_login":"rebornix"}}