{"action":"created","issue":{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/938","repository_url":"https://api.github.com/repos/TypeStrong/atom-typescript","labels_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/938/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/938/comments","events_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/938/events","html_url":"https://github.com/TypeStrong/atom-typescript/issues/938","id":152196790,"number":938,"title":"Support ng2 (angular.io) imports","user":{"login":"3ffy","id":1832031,"avatar_url":"https://avatars.githubusercontent.com/u/1832031?v=3","gravatar_id":"","url":"https://api.github.com/users/3ffy","html_url":"https://github.com/3ffy","followers_url":"https://api.github.com/users/3ffy/followers","following_url":"https://api.github.com/users/3ffy/following{/other_user}","gists_url":"https://api.github.com/users/3ffy/gists{/gist_id}","starred_url":"https://api.github.com/users/3ffy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3ffy/subscriptions","organizations_url":"https://api.github.com/users/3ffy/orgs","repos_url":"https://api.github.com/users/3ffy/repos","events_url":"https://api.github.com/users/3ffy/events{/privacy}","received_events_url":"https://api.github.com/users/3ffy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-01T12:24:23Z","updated_at":"2016-05-21T01:52:46Z","closed_at":null,"body":"Hi, \r\nfirst of all thanks you for your wonderfull work !\r\n\r\nI'm working with ng2 (angular.io) and the native imports from the ng2 librairy are not supported. Since this imports are in 100% of the files, i got imports errors from all my project files.\r\n\r\n```\r\n//exemple\r\nimport {Component} from 'angular2/core';\r\nimport {RouteConfig, RouterOutlet, ROUTER_DIRECTIVES} from 'angular2/router';\r\n```\r\n![untitled-2](https://cloud.githubusercontent.com/assets/1832031/14941767/33a90dee-0fa8-11e6-8305-1c6826c722ad.jpg)\r\n\r\nIt would be really nice if the editor was able to know the native angular component and manage them with autocomplete etc. \r\n\r\nBut since ng2 still in beta at this time, i assume it would be difficult. So i was wondering if there is a way to exclude some imports with wildcards from the `tsconfig.json` project file.\r\n\r\nTo sum up, **the idea is to exclude all `angular2/*` checking**."},"comment":{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/comments/220752365","html_url":"https://github.com/TypeStrong/atom-typescript/issues/938#issuecomment-220752365","issue_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/938","id":220752365,"user":{"login":"tycho01","id":3059397,"avatar_url":"https://avatars.githubusercontent.com/u/3059397?v=3","gravatar_id":"","url":"https://api.github.com/users/tycho01","html_url":"https://github.com/tycho01","followers_url":"https://api.github.com/users/tycho01/followers","following_url":"https://api.github.com/users/tycho01/following{/other_user}","gists_url":"https://api.github.com/users/tycho01/gists{/gist_id}","starred_url":"https://api.github.com/users/tycho01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tycho01/subscriptions","organizations_url":"https://api.github.com/users/tycho01/orgs","repos_url":"https://api.github.com/users/tycho01/repos","events_url":"https://api.github.com/users/tycho01/events{/privacy}","received_events_url":"https://api.github.com/users/tycho01/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T01:52:46Z","updated_at":"2016-05-21T01:52:46Z","body":"For what it's worth, for me angular 2 imports do appear recognized. I'm not quite sure what makes the difference. Unless yours doesn't know it should look in `node_modules` somehow?"}}
{"actor":{"display_login":"tycho01"}}