{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/2883","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/2883/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/2883/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/2883/events","html_url":"https://github.com/Microsoft/vscode/issues/2883","id":132665882,"number":2883,"title":"firstLine MUST not trump exension","user":{"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},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/bug","name":"bug","color":"E57E7E"}],"state":"open","locked":false,"assignee":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/13","html_url":"https://github.com/Microsoft/vscode/milestones/March%202016","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/13/labels","id":1592743,"number":13,"title":"March 2016","description":"","creator":{"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},"open_issues":81,"closed_issues":73,"state":"open","created_at":"2016-02-19T11:08:59Z","updated_at":"2016-03-04T11:28:15Z","due_on":"2016-03-30T22:00:00Z","closed_at":null},"comments":4,"created_at":"2016-02-10T10:49:28Z","updated_at":"2016-03-04T11:29:33Z","closed_at":null,"body":"I have a TS file which has a first line like\r\n```\r\n#!/usr/bin/env node\r\n```\r\nwhich is supported by the tsc compiler.\r\n\r\nVSCode now treats the ts file as JS which results in very wired behavior.\r\n\r\nIn general I think first line is content sniffing (like binary detection) and shouldn't overrule extensions."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/192242759","html_url":"https://github.com/Microsoft/vscode/issues/2883#issuecomment-192242759","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/2883","id":192242759,"user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T11:29:33Z","updated_at":"2016-03-04T11:29:33Z","body":"Discussed with Alex and we have an idea how to solve this together with the ability to let the user configure file => language setting."}}