{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/2886","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/2886/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/2886/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/2886/events","html_url":"https://github.com/Microsoft/vscode/issues/2886","id":132677925,"number":2886,"title":"JSX and Salsa: Intellisense for ReactComponents does not work","user":{"login":"nwehrle","id":832234,"avatar_url":"https://avatars.githubusercontent.com/u/832234?v=3","gravatar_id":"","url":"https://api.github.com/users/nwehrle","html_url":"https://github.com/nwehrle","followers_url":"https://api.github.com/users/nwehrle/followers","following_url":"https://api.github.com/users/nwehrle/following{/other_user}","gists_url":"https://api.github.com/users/nwehrle/gists{/gist_id}","starred_url":"https://api.github.com/users/nwehrle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwehrle/subscriptions","organizations_url":"https://api.github.com/users/nwehrle/orgs","repos_url":"https://api.github.com/users/nwehrle/repos","events_url":"https://api.github.com/users/nwehrle/events{/privacy}","received_events_url":"https://api.github.com/users/nwehrle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-10T11:52:42Z","updated_at":"2016-02-10T12:03:26Z","closed_at":null,"body":"Salsa is enabled:\r\n<img width=\"392\" alt=\"bildschirmfoto 2016-02-09 um 22 13 44\" src=\"https://cloud.githubusercontent.com/assets/832234/12930762/7cfdc1ba-cf7a-11e5-86d8-fffef477db6c.png\">\r\n\r\nBut intellisense fails to offer proper React Elements:\r\n\r\n![bildschirmfoto 2016-02-10 um 10 57 12](https://cloud.githubusercontent.com/assets/832234/12946423/a71b58d4-cff4-11e5-866c-beabfb1208c4.png)\r\n\r\n![bildschirmfoto 2016-02-10 um 10 59 01](https://cloud.githubusercontent.com/assets/832234/12946411/8af7874a-cff4-11e5-90be-4c1e9f1c556d.png)\r\n\r\n\r\nSystem:\r\nOSX 10.11.2\r\nvscode 0.10.8\r\ndb71ac615ddf9f33b133ff2536f5d33a77d4774e\r\n\r\n\r\njsconfig.json:\r\n```\r\n{\r\n  \"compilerOptions\": {\r\n    \"target\": \"ES6\",\r\n    \"module\": \"system\",\r\n    \"experimentalDecorators\": true\r\n  },\r\n\r\n  \"exclude\": [\r\n    \"node_modules\"\r\n  ]\r\n}\r\n```\r\n\r\nUser settings:\r\n```\r\n{\r\n  \"javascript.validate.enable\": false,\r\n  \"editor.tabSize\": 2,\r\n  \"files.trimTrailingWhitespace\": true,\r\n  // Migrated from previous \"File | Auto Save\" setting:\r\n  \"files.autoSave\": \"onFocusChange\"\r\n}\r\n```\r\n\r\nPartial eslintrc:\r\n```\r\n \"rules\": {\r\n    \"func-names\": 0,\r\n    \"no-unused-expressions\": 0,\r\n    \"id-length\": 0,\r\n    \"no-multi-spaces\": 0,\r\n    \"no-mixed-spaces-and-tabs\": 2,\r\n\r\n    \"no-unused-vars\": [1, {\"vars\": \"all\", \"args\": \"none\"}],\r\n    \"react/jsx-uses-react\": 1,\r\n    \"react/prop-types\": 0,\r\n    \"no-console\": 0\r\n  },\r\n  \"plugins\": [\r\n    \"react\"\r\n  ]\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/182336171","html_url":"https://github.com/Microsoft/vscode/issues/2886#issuecomment-182336171","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/2886","id":182336171,"user":{"login":"egamma","id":172399,"avatar_url":"https://avatars.githubusercontent.com/u/172399?v=3","gravatar_id":"","url":"https://api.github.com/users/egamma","html_url":"https://github.com/egamma","followers_url":"https://api.github.com/users/egamma/followers","following_url":"https://api.github.com/users/egamma/following{/other_user}","gists_url":"https://api.github.com/users/egamma/gists{/gist_id}","starred_url":"https://api.github.com/users/egamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egamma/subscriptions","organizations_url":"https://api.github.com/users/egamma/orgs","repos_url":"https://api.github.com/users/egamma/repos","events_url":"https://api.github.com/users/egamma/events{/privacy}","received_events_url":"https://api.github.com/users/egamma/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T12:03:26Z","updated_at":"2016-02-10T12:03:26Z","body":"Does it work in this simple hello world example:\r\n\r\n```jsx\r\nvar CommentBox = React.createClass({\r\n  render: function() {\r\n    return (\r\n      <div className=\"commentBox\">\r\n        Hello, world! I am a CommentBox.\r\n      </div>\r\n    );\r\n  }\r\n});\r\n\r\nReactDOM.render(\r\n  <CommentBox />,\r\n  document.getElementById('content')\r\n);\r\n```"}}