{"action":"created","issue":{"url":"https://api.github.com/repos/jawee/language-blade/issues/2","labels_url":"https://api.github.com/repos/jawee/language-blade/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jawee/language-blade/issues/2/comments","events_url":"https://api.github.com/repos/jawee/language-blade/issues/2/events","html_url":"https://github.com/jawee/language-blade/issues/2","id":36150711,"number":2,"title":"Recognising Blade files","user":{"login":"alexrussell","id":412784,"avatar_url":"https://avatars.githubusercontent.com/u/412784?v=3","gravatar_id":"","url":"https://api.github.com/users/alexrussell","html_url":"https://github.com/alexrussell","followers_url":"https://api.github.com/users/alexrussell/followers","following_url":"https://api.github.com/users/alexrussell/following{/other_user}","gists_url":"https://api.github.com/users/alexrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/alexrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexrussell/subscriptions","organizations_url":"https://api.github.com/users/alexrussell/orgs","repos_url":"https://api.github.com/users/alexrussell/repos","events_url":"https://api.github.com/users/alexrussell/events{/privacy}","received_events_url":"https://api.github.com/users/alexrussell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jawee/language-blade/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-06-20T08:54:37Z","updated_at":"2015-11-09T14:26:48Z","closed_at":null,"body":"I know this issue kinda came up in #1 and I mentioned that I had some issues with the language actually kicking in for blade files.\r\n\r\nHere's what I've noticed:\r\n\r\n- If I open a Blade file (e.g. `xyz.blade.php`) I've never opened it opens as a PHP file\r\n- If I then switch the syntax to Blade manually it's fine\r\n- If I then close the file and reopen it another time 9doesn't have to be immediately) it appears to remember it's a Blade file\r\n- But still, other new unopened Blade files (e.g. `abc.blade.php`) open as PHP\r\n\r\nAlso (and pretty obviously), if I have previously switch a file's view mode to Blade so that it no re-opens in blade, I can then change it to PHP so that form now on it opens as PHP.\r\n\r\nIs this just me or it is a bug? I know you at one point [changed](https://github.com/jawee/language-blade/commit/a331776dddcfad933c7d62252362be11bb6c1c3d) the `fileTypes` config setting to fix an issue with highlighting, but it still appears to be around for me. But maybe there's something I'm doing weird. So first of all it'd be nice to get confirmation, and then if no-one else has the same issue, see if there's a package I have that's sending if funny. Does Atom have any debugging mode/command to enable us to see the decision behind a syntax setting decision?"},"comment":{"url":"https://api.github.com/repos/jawee/language-blade/issues/comments/155078105","html_url":"https://github.com/jawee/language-blade/issues/2#issuecomment-155078105","issue_url":"https://api.github.com/repos/jawee/language-blade/issues/2","id":155078105,"user":{"login":"Ingramz","id":1017132,"avatar_url":"https://avatars.githubusercontent.com/u/1017132?v=3","gravatar_id":"","url":"https://api.github.com/users/Ingramz","html_url":"https://github.com/Ingramz","followers_url":"https://api.github.com/users/Ingramz/followers","following_url":"https://api.github.com/users/Ingramz/following{/other_user}","gists_url":"https://api.github.com/users/Ingramz/gists{/gist_id}","starred_url":"https://api.github.com/users/Ingramz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ingramz/subscriptions","organizations_url":"https://api.github.com/users/Ingramz/orgs","repos_url":"https://api.github.com/users/Ingramz/repos","events_url":"https://api.github.com/users/Ingramz/events{/privacy}","received_events_url":"https://api.github.com/users/Ingramz/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T14:26:48Z","updated_at":"2015-11-09T14:26:48Z","body":"@vinkla it's still not possible without some external helper. If you don't like using the script I posted, there is [file-types](https://atom.io/packages/file-types) package which does essentially the same thing."}}