{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/3532","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/3532/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/3532/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/3532/events","html_url":"https://github.com/Microsoft/vscode/issues/3532","id":137004512,"number":3532,"title":"False positive - \"Parsing error: Illegal import declaration (undefined)\"","user":{"login":"Jaans","id":3510981,"avatar_url":"https://avatars.githubusercontent.com/u/3510981?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaans","html_url":"https://github.com/Jaans","followers_url":"https://api.github.com/users/Jaans/followers","following_url":"https://api.github.com/users/Jaans/following{/other_user}","gists_url":"https://api.github.com/users/Jaans/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaans/subscriptions","organizations_url":"https://api.github.com/users/Jaans/orgs","repos_url":"https://api.github.com/users/Jaans/repos","events_url":"https://api.github.com/users/Jaans/events{/privacy}","received_events_url":"https://api.github.com/users/Jaans/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/bug","name":"bug","color":"E57E7E"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/js","name":"js","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2016-02-28T04:09:40Z","updated_at":"2016-03-09T12:00:57Z","closed_at":"2016-03-09T11:54:04Z","body":"I have ta simple ES6 module export and VS Code is seeing it as an error:\r\n\r\n> Parsing error: Illegal import declaration (undefined)\r\n\r\nYet that is valid, and works just fine. \r\nBelow is the entirety of the module:\r\n\r\n```\r\nexport class ErrorEvent {\r\n    constructor(structuredError) {\r\n        this.structuredError = structuredError;\r\n    }\r\n}\r\n```\r\n\r\nThe \"export\" keyword get's a red squiggly line and an error is added to VS Error error list for it.\r\n\r\nCan this please be fixed?"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/194263572","html_url":"https://github.com/Microsoft/vscode/issues/3532#issuecomment-194263572","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/3532","id":194263572,"user":{"login":"unional","id":3254987,"avatar_url":"https://avatars.githubusercontent.com/u/3254987?v=3","gravatar_id":"","url":"https://api.github.com/users/unional","html_url":"https://github.com/unional","followers_url":"https://api.github.com/users/unional/followers","following_url":"https://api.github.com/users/unional/following{/other_user}","gists_url":"https://api.github.com/users/unional/gists{/gist_id}","starred_url":"https://api.github.com/users/unional/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unional/subscriptions","organizations_url":"https://api.github.com/users/unional/orgs","repos_url":"https://api.github.com/users/unional/repos","events_url":"https://api.github.com/users/unional/events{/privacy}","received_events_url":"https://api.github.com/users/unional/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T12:00:57Z","updated_at":"2016-03-09T12:00:57Z","body":"For the project I have problem with, it is because the file is detected as JavaScript due to the shebang "}}