{"action":"created","issue":{"url":"https://api.github.com/repos/ChristianKohler/PathIntellisense/issues/27","repository_url":"https://api.github.com/repos/ChristianKohler/PathIntellisense","labels_url":"https://api.github.com/repos/ChristianKohler/PathIntellisense/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/ChristianKohler/PathIntellisense/issues/27/comments","events_url":"https://api.github.com/repos/ChristianKohler/PathIntellisense/issues/27/events","html_url":"https://github.com/ChristianKohler/PathIntellisense/issues/27","id":178592588,"number":27,"title":"Support Typescript 2's baseUrl setting","user":{"login":"Elarcis","id":990841,"avatar_url":"https://avatars.githubusercontent.com/u/990841?v=3","gravatar_id":"","url":"https://api.github.com/users/Elarcis","html_url":"https://github.com/Elarcis","followers_url":"https://api.github.com/users/Elarcis/followers","following_url":"https://api.github.com/users/Elarcis/following{/other_user}","gists_url":"https://api.github.com/users/Elarcis/gists{/gist_id}","starred_url":"https://api.github.com/users/Elarcis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elarcis/subscriptions","organizations_url":"https://api.github.com/users/Elarcis/orgs","repos_url":"https://api.github.com/users/Elarcis/repos","events_url":"https://api.github.com/users/Elarcis/events{/privacy}","received_events_url":"https://api.github.com/users/Elarcis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-22T12:09:27Z","updated_at":"2016-10-02T19:23:46Z","closed_at":null,"body":"Typescript 2 includes a baseUrl option in its tsconfig.json.\r\n\r\nThis option specifies the base path (relative to tsconfig.json) from which non-relative modules are imported (without conflicting with node_modules and such).\r\n\r\nIt could be nice for PathIntellisense to support this as well.\r\n\r\nExample:\r\n\r\n```Typescript\r\nimport { MyClass } from 'api/myModule'; // here, api folder is at the root of the project, though we can import it with this syntax from anywhere.\r\n```"},"comment":{"url":"https://api.github.com/repos/ChristianKohler/PathIntellisense/issues/comments/250989824","html_url":"https://github.com/ChristianKohler/PathIntellisense/issues/27#issuecomment-250989824","issue_url":"https://api.github.com/repos/ChristianKohler/PathIntellisense/issues/27","id":250989824,"user":{"login":"ChristianKohler","id":4374178,"avatar_url":"https://avatars.githubusercontent.com/u/4374178?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristianKohler","html_url":"https://github.com/ChristianKohler","followers_url":"https://api.github.com/users/ChristianKohler/followers","following_url":"https://api.github.com/users/ChristianKohler/following{/other_user}","gists_url":"https://api.github.com/users/ChristianKohler/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristianKohler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristianKohler/subscriptions","organizations_url":"https://api.github.com/users/ChristianKohler/orgs","repos_url":"https://api.github.com/users/ChristianKohler/repos","events_url":"https://api.github.com/users/ChristianKohler/events{/privacy}","received_events_url":"https://api.github.com/users/ChristianKohler/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T19:23:46Z","updated_at":"2016-10-02T19:23:46Z","body":"Hi @Elarcis, thank you for the feedback. Would be nice to support ts2 baseUrl. At the moment it would collide with https://github.com/ChristianKohler/NpmIntellisense thought. We need to figure out what should be suggest when the string is empty:\r\n\r\n`import {} from ''`\r\n\r\nAt the moment it displays npm packages.\r\n"}}
{"actor":{"display_login":"ChristianKohler"}}