{"action":"created","issue":{"url":"https://api.github.com/repos/defunkt/coffee-mode/issues/307","labels_url":"https://api.github.com/repos/defunkt/coffee-mode/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/defunkt/coffee-mode/issues/307/comments","events_url":"https://api.github.com/repos/defunkt/coffee-mode/issues/307/events","html_url":"https://github.com/defunkt/coffee-mode/issues/307","id":69306845,"number":307,"title":"Add missing indenters","user":{"login":"vladh","id":291640,"avatar_url":"https://avatars.githubusercontent.com/u/291640?v=3","gravatar_id":"","url":"https://api.github.com/users/vladh","html_url":"https://github.com/vladh","followers_url":"https://api.github.com/users/vladh/followers","following_url":"https://api.github.com/users/vladh/following{/other_user}","gists_url":"https://api.github.com/users/vladh/gists{/gist_id}","starred_url":"https://api.github.com/users/vladh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladh/subscriptions","organizations_url":"https://api.github.com/users/vladh/orgs","repos_url":"https://api.github.com/users/vladh/repos","events_url":"https://api.github.com/users/vladh/events{/privacy}","received_events_url":"https://api.github.com/users/vladh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-18T12:53:09Z","updated_at":"2015-04-19T14:07:09Z","closed_at":null,"body":"Indenters are currently very limited. For instance:\r\n\r\n```coffeescript\r\nclass Test\r\n  doThings: (done) ->\r\n    @stuff.map (thing) ->\r\n      console.log(thing)\r\n  X\r\n```\r\n\r\nThe X is where the cursor is placed when entering a new line after the `console.log` line."},"comment":{"url":"https://api.github.com/repos/defunkt/coffee-mode/issues/comments/94279798","html_url":"https://github.com/defunkt/coffee-mode/issues/307#issuecomment-94279798","issue_url":"https://api.github.com/repos/defunkt/coffee-mode/issues/307","id":94279798,"user":{"login":"vladh","id":291640,"avatar_url":"https://avatars.githubusercontent.com/u/291640?v=3","gravatar_id":"","url":"https://api.github.com/users/vladh","html_url":"https://github.com/vladh","followers_url":"https://api.github.com/users/vladh/followers","following_url":"https://api.github.com/users/vladh/following{/other_user}","gists_url":"https://api.github.com/users/vladh/gists{/gist_id}","starred_url":"https://api.github.com/users/vladh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladh/subscriptions","organizations_url":"https://api.github.com/users/vladh/orgs","repos_url":"https://api.github.com/users/vladh/repos","events_url":"https://api.github.com/users/vladh/events{/privacy}","received_events_url":"https://api.github.com/users/vladh/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T14:07:08Z","updated_at":"2015-04-19T14:07:08Z","body":"I'm sorry, I provided the wrong code sample. Here is the correct one:\r\n\r\n```coffeescript\r\nclass Test\r\n  constructor: ->\r\n    window.runSomethiing {\r\n      done: ->\r\n        console.log('done')\r\n  X   Y \r\n    }\r\n```\r\n\r\nWhen placing a line under `console.log`, the cursor is placed at X. I would expect it to be placed at Y."}}