{"action":"created","issue":{"url":"https://api.github.com/repos/adobe/brackets/issues/11651","labels_url":"https://api.github.com/repos/adobe/brackets/issues/11651/labels{/name}","comments_url":"https://api.github.com/repos/adobe/brackets/issues/11651/comments","events_url":"https://api.github.com/repos/adobe/brackets/issues/11651/events","html_url":"https://github.com/adobe/brackets/issues/11651","id":104253660,"number":11651,"title":"Indentation after Ruby string interpolation","user":{"login":"johaywood","id":9326969,"avatar_url":"https://avatars.githubusercontent.com/u/9326969?v=3","gravatar_id":"","url":"https://api.github.com/users/johaywood","html_url":"https://github.com/johaywood","followers_url":"https://api.github.com/users/johaywood/followers","following_url":"https://api.github.com/users/johaywood/following{/other_user}","gists_url":"https://api.github.com/users/johaywood/gists{/gist_id}","starred_url":"https://api.github.com/users/johaywood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johaywood/subscriptions","organizations_url":"https://api.github.com/users/johaywood/orgs","repos_url":"https://api.github.com/users/johaywood/repos","events_url":"https://api.github.com/users/johaywood/events{/privacy}","received_events_url":"https://api.github.com/users/johaywood/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/adobe/brackets/labels/codemirror","name":"codemirror","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-01T12:25:59Z","updated_at":"2015-09-02T11:47:13Z","closed_at":null,"body":"After a line using Ruby string interpolation that also uses braces or parens, Brackets un-indents the lines below the interpolation. There may be some other behavior at play here, but these are the times I seem to run into it and keep indenting manually after editing each line. \r\n\r\nBrackets would try to indent the following code like this:\r\n\r\n```\r\n# test.rb\r\n\r\ndef foo(hash)\r\n  if !hash.empty?\r\n    hash.each do |x|\r\n      puts \"value for key y is #{x[:y]}\"\r\n  end\r\nelse\r\n  puts \"string is not bar\"\r\nend\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/adobe/brackets/issues/comments/137044823","html_url":"https://github.com/adobe/brackets/issues/11651#issuecomment-137044823","issue_url":"https://api.github.com/repos/adobe/brackets/issues/11651","id":137044823,"user":{"login":"MarcelGerber","id":2641501,"avatar_url":"https://avatars.githubusercontent.com/u/2641501?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcelGerber","html_url":"https://github.com/MarcelGerber","followers_url":"https://api.github.com/users/MarcelGerber/followers","following_url":"https://api.github.com/users/MarcelGerber/following{/other_user}","gists_url":"https://api.github.com/users/MarcelGerber/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcelGerber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcelGerber/subscriptions","organizations_url":"https://api.github.com/users/MarcelGerber/orgs","repos_url":"https://api.github.com/users/MarcelGerber/repos","events_url":"https://api.github.com/users/MarcelGerber/events{/privacy}","received_events_url":"https://api.github.com/users/MarcelGerber/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T11:47:13Z","updated_at":"2015-09-02T11:47:13Z","body":"This has already been fixed in CodeMirror (https://github.com/codemirror/CodeMirror/issues/3365) and thus, it'll be fixed in Brackets Release 1.5"}}