{"action":"created","issue":{"url":"https://api.github.com/repos/dzannotti/vscode-babel/issues/19","repository_url":"https://api.github.com/repos/dzannotti/vscode-babel","labels_url":"https://api.github.com/repos/dzannotti/vscode-babel/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/dzannotti/vscode-babel/issues/19/comments","events_url":"https://api.github.com/repos/dzannotti/vscode-babel/issues/19/events","html_url":"https://github.com/dzannotti/vscode-babel/issues/19","id":286745311,"number":19,"title":"Incorrect commenting","user":{"login":"kshestakov","id":6207660,"avatar_url":"https://avatars3.githubusercontent.com/u/6207660?v=4","gravatar_id":"","url":"https://api.github.com/users/kshestakov","html_url":"https://github.com/kshestakov","followers_url":"https://api.github.com/users/kshestakov/followers","following_url":"https://api.github.com/users/kshestakov/following{/other_user}","gists_url":"https://api.github.com/users/kshestakov/gists{/gist_id}","starred_url":"https://api.github.com/users/kshestakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshestakov/subscriptions","organizations_url":"https://api.github.com/users/kshestakov/orgs","repos_url":"https://api.github.com/users/kshestakov/repos","events_url":"https://api.github.com/users/kshestakov/events{/privacy}","received_events_url":"https://api.github.com/users/kshestakov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-08T13:30:08Z","updated_at":"2018-03-28T18:18:32Z","closed_at":null,"author_association":"NONE","body":"Faced this problem in .jsx files in React \"html\".\r\nWhen I enable this extension, in some cases where I expect `{* *}` I got `//` instead. So, with this extensions enabled commenting differs from commenting without this extension.\r\n\r\n**CASE 1:**\r\n_Javascript React, extension disabled_\r\n```javascript\r\n{!isFetching && <List\r\n  propA\r\n  propB\r\n  propC\r\n/>}\r\n{/* this.renderModal() */}\r\n```\r\n_Javascript (Babel), extension enabled_\r\n```javascript\r\n{!isFetching && <List\r\n  propA\r\n  propB\r\n  propC\r\n/>}\r\n// this.renderModal()\r\n```\r\n**CASE 2:**\r\n_Javascript React, extension disabled_\r\n```javascript\r\n{/* !isFetching && <List\r\n  propA\r\n  propB\r\n  propC\r\n/> */}\r\nthis.renderModal()\r\n```\r\n_Javascript (Babel), extension enabled_\r\n```javascript\r\n// {!isFetching && <List\r\n//   propA\r\n//   propB\r\n//   propC\r\n// />}\r\nthis.renderModal()\r\n```\r\nI would like _Javascript React, extension disabled_ behaviour matches with _Javascript (Babel), extension enabled_. How can I get this?\r\nThanks in advance =)\r\n  "},"comment":{"url":"https://api.github.com/repos/dzannotti/vscode-babel/issues/comments/376985619","html_url":"https://github.com/dzannotti/vscode-babel/issues/19#issuecomment-376985619","issue_url":"https://api.github.com/repos/dzannotti/vscode-babel/issues/19","id":376985619,"user":{"login":"dhruvdutt","id":5961873,"avatar_url":"https://avatars0.githubusercontent.com/u/5961873?v=4","gravatar_id":"","url":"https://api.github.com/users/dhruvdutt","html_url":"https://github.com/dhruvdutt","followers_url":"https://api.github.com/users/dhruvdutt/followers","following_url":"https://api.github.com/users/dhruvdutt/following{/other_user}","gists_url":"https://api.github.com/users/dhruvdutt/gists{/gist_id}","starred_url":"https://api.github.com/users/dhruvdutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhruvdutt/subscriptions","organizations_url":"https://api.github.com/users/dhruvdutt/orgs","repos_url":"https://api.github.com/users/dhruvdutt/repos","events_url":"https://api.github.com/users/dhruvdutt/events{/privacy}","received_events_url":"https://api.github.com/users/dhruvdutt/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T18:18:31Z","updated_at":"2018-03-28T18:18:31Z","author_association":"NONE","body":"I'm also facing this. Had to disable Babel extension."}}
{"actor":{"display_login":"dhruvdutt"}}