{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/703","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/703/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/703/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/703/events","html_url":"https://github.com/Microsoft/vscode/issues/703","id":119016025,"number":703,"title":"jsconfig.json sometimes not taken into account","user":{"login":"skovmand","id":1387518,"avatar_url":"https://avatars.githubusercontent.com/u/1387518?v=3","gravatar_id":"","url":"https://api.github.com/users/skovmand","html_url":"https://github.com/skovmand","followers_url":"https://api.github.com/users/skovmand/followers","following_url":"https://api.github.com/users/skovmand/following{/other_user}","gists_url":"https://api.github.com/users/skovmand/gists{/gist_id}","starred_url":"https://api.github.com/users/skovmand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skovmand/subscriptions","organizations_url":"https://api.github.com/users/skovmand/orgs","repos_url":"https://api.github.com/users/skovmand/repos","events_url":"https://api.github.com/users/skovmand/events{/privacy}","received_events_url":"https://api.github.com/users/skovmand/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/js","name":"js","color":"c7def8"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/P1","name":"P1","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/2","html_url":"https://github.com/Microsoft/vscode/milestones/Dec%202015","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/2/labels","id":1354260,"number":2,"title":"Dec 2015","description":"","creator":{"login":"chrisdias","id":1487073,"avatar_url":"https://avatars.githubusercontent.com/u/1487073?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdias","html_url":"https://github.com/chrisdias","followers_url":"https://api.github.com/users/chrisdias/followers","following_url":"https://api.github.com/users/chrisdias/following{/other_user}","gists_url":"https://api.github.com/users/chrisdias/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdias/subscriptions","organizations_url":"https://api.github.com/users/chrisdias/orgs","repos_url":"https://api.github.com/users/chrisdias/repos","events_url":"https://api.github.com/users/chrisdias/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdias/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":127,"state":"open","created_at":"2015-10-13T23:36:42Z","updated_at":"2015-12-07T10:06:49Z","due_on":"2015-12-18T23:00:00Z","closed_at":null},"comments":26,"created_at":"2015-11-26T10:36:51Z","updated_at":"2015-12-07T10:20:31Z","closed_at":null,"body":"Hi.\r\n\r\nThanks for your product, I really enjoy using it. However I have one problem:\r\nWhen using ES6 features, like the arrow functions, I get the message \"This can only be used with ES6. Make sure to have a jsconfig.json-file which sets the target to ES6\".\r\n\r\nHowever I have a ```jsconfig.json```-file in my root (the folder opened in Visual Studio Code), which contains:\r\n\r\n```json\r\n{\r\n\t\"compilerOptions\": {\r\n\t\t\"target\": \"ES6\",\r\n\t\t\"module\": \"commonjs\"\r\n\t}\r\n}\r\n```\r\n\r\nThe weird part is that I get it for some files, and not for others. Even if the files are in the same directory. Right now I have three files in the subdirectory ```/app/bpm``` names ```bpm.js```, ```bpmController.js``` and ```enterClick.js```. All three are written with ES6-functionality, but I only get the warning and red underlined text for ```bpm.js```. \r\n\r\nUPDATE:\r\nI just restarted VS Code, and the red underline disappeared from ```bpm.js``` too. It was a new file I had created after the two others, however the red underline only went away after a restart."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/162473700","html_url":"https://github.com/Microsoft/vscode/issues/703#issuecomment-162473700","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/703","id":162473700,"user":{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T10:20:31Z","updated_at":"2015-12-07T10:20:31Z","body":"I understood and tackles these tasks\r\n\r\n- [x] files are ignored when path contains `js`, like `foo/bar/js-project/far.js`\r\n- [x] paths are ignored when path-segments start with `temp`, like `foo/bar/templateEngine.js`\r\n- [x] problem with exclude patterns\r\n- [ ] problem with files without ending but shebang"}}