{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/30547","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/30547/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/30547/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/30547/events","html_url":"https://github.com/Microsoft/vscode/issues/30547","id":242514599,"number":30547,"title":"PHP auto indent when pressing tab on new line","user":{"login":"mister-glass","id":4302588,"avatar_url":"https://avatars3.githubusercontent.com/u/4302588?v=3","gravatar_id":"","url":"https://api.github.com/users/mister-glass","html_url":"https://github.com/mister-glass","followers_url":"https://api.github.com/users/mister-glass/followers","following_url":"https://api.github.com/users/mister-glass/following{/other_user}","gists_url":"https://api.github.com/users/mister-glass/gists{/gist_id}","starred_url":"https://api.github.com/users/mister-glass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mister-glass/subscriptions","organizations_url":"https://api.github.com/users/mister-glass/orgs","repos_url":"https://api.github.com/users/mister-glass/repos","events_url":"https://api.github.com/users/mister-glass/events{/privacy}","received_events_url":"https://api.github.com/users/mister-glass/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-12T21:02:45Z","updated_at":"2017-07-12T21:02:45Z","closed_at":null,"body":"- VSCode Version: Code 1.14.0 (b8cd5b9556d8b70ea560d35b903422363f6c5c40, 2017-07-10T18:36:31.751Z)\r\n- OS Version: Windows_NT ia32 10.0.15063\r\n- Extensions: the listing length exceeds browsers' URL characters limit\r\n---\r\n\r\nSteps to Reproduce:\r\n\r\n1. Go to a nested block of code and press enter a couple of times\r\n2. Go to the above line that is empty and press TAB\r\nIt doesn't auto add the necessary indentation anymore, for the current nesting.\r\n\r\nI have made 2 GIFS to demonstrate this, by comparing behavior from VSCode version 1.13 with VSCode version 1.14.\r\nAlso, this seems to be reproducible only in PHP, In Javascript it works as expected.\r\nIndent character is also not important, as I have tested with both tabs and spaces.\r\nAs a side-note, I need to mention that once you get used with the editor auto adding necessary indentation, it's very difficult and very annoying adjusting otherwise, until this is fixed :(\r\n\r\n**VSCode v1.14**\r\n![php-indent-bug](https://user-images.githubusercontent.com/4302588/28139649-b4fb1fdc-675d-11e7-9a55-d9d3ec054af1.gif)\r\n\r\n**VSCode v1.13**\r\n![php-indent-good](https://user-images.githubusercontent.com/4302588/28139704-e1fc0e24-675d-11e7-9acf-f04b46075ccc.gif)\r\n\r\n\r\nReproduces without extensions: **Yes**"}}
{"actor":{"display_login":"mister-glass"}}