{"action":"created","issue":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/611","labels_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/611/labels{/name}","comments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/611/comments","events_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/611/events","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/611","id":98359405,"number":611,"title":"Feature Request: Detect shell scripts for files without extensions, and select the 'Shell' language for syntax highlighting","user":{"login":"DanStevens","id":1074238,"avatar_url":"https://avatars.githubusercontent.com/u/1074238?v=3","gravatar_id":"","url":"https://api.github.com/users/DanStevens","html_url":"https://github.com/DanStevens","followers_url":"https://api.github.com/users/DanStevens/followers","following_url":"https://api.github.com/users/DanStevens/following{/other_user}","gists_url":"https://api.github.com/users/DanStevens/gists{/gist_id}","starred_url":"https://api.github.com/users/DanStevens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanStevens/subscriptions","organizations_url":"https://api.github.com/users/DanStevens/orgs","repos_url":"https://api.github.com/users/DanStevens/repos","events_url":"https://api.github.com/users/DanStevens/events{/privacy}","received_events_url":"https://api.github.com/users/DanStevens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/labels/accepted","name":"accepted","color":"bfe5bf"},{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"donho","id":90293,"avatar_url":"https://avatars.githubusercontent.com/u/90293?v=3","gravatar_id":"","url":"https://api.github.com/users/donho","html_url":"https://github.com/donho","followers_url":"https://api.github.com/users/donho/followers","following_url":"https://api.github.com/users/donho/following{/other_user}","gists_url":"https://api.github.com/users/donho/gists{/gist_id}","starred_url":"https://api.github.com/users/donho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donho/subscriptions","organizations_url":"https://api.github.com/users/donho/orgs","repos_url":"https://api.github.com/users/donho/repos","events_url":"https://api.github.com/users/donho/events{/privacy}","received_events_url":"https://api.github.com/users/donho/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/milestones/1","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/milestones/6.x","labels_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/milestones/1/labels","id":1160169,"number":1,"title":"6.x","description":"","creator":{"login":"milipili","id":5516919,"avatar_url":"https://avatars.githubusercontent.com/u/5516919?v=3","gravatar_id":"","url":"https://api.github.com/users/milipili","html_url":"https://github.com/milipili","followers_url":"https://api.github.com/users/milipili/followers","following_url":"https://api.github.com/users/milipili/following{/other_user}","gists_url":"https://api.github.com/users/milipili/gists{/gist_id}","starred_url":"https://api.github.com/users/milipili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milipili/subscriptions","organizations_url":"https://api.github.com/users/milipili/orgs","repos_url":"https://api.github.com/users/milipili/repos","events_url":"https://api.github.com/users/milipili/events{/privacy}","received_events_url":"https://api.github.com/users/milipili/received_events","type":"User","site_admin":false},"open_issues":154,"closed_issues":354,"state":"open","created_at":"2015-06-11T12:06:18Z","updated_at":"2015-12-02T18:16:17Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-07-31T10:10:33Z","updated_at":"2015-12-02T18:16:17Z","closed_at":"2015-12-02T18:16:17Z","body":"When opening a file without a file extension, Notepad++ doesn't currently attempt to select a language for the file (thus no syntax highlighting). An example of text files that commonly don't have an extension are shell scripts for Unix-like environments. It would be great if Notepad++ could detect shell scripts in the same way that Linux and similar environments defect shell scripts: By looking for `#!/bin/sh`, `#!/bin/bash` or similar at the first line of the file. If Notepad++ sees this as the first line of a file, it automatically selects the 'Shell' language.\r\n\r\nWhile Notepad++ is probably not used much within Unix-like environments, I use it to edit Cygwin scripts. I imagine people also use Notepad++ to view and edit shell scripts on a remote servers from Windows, in which case I would see this feature being useful to them also."},"comment":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/comments/161387114","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/611#issuecomment-161387114","issue_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/611","id":161387114,"user":{"login":"donho","id":90293,"avatar_url":"https://avatars.githubusercontent.com/u/90293?v=3","gravatar_id":"","url":"https://api.github.com/users/donho","html_url":"https://github.com/donho","followers_url":"https://api.github.com/users/donho/followers","following_url":"https://api.github.com/users/donho/following{/other_user}","gists_url":"https://api.github.com/users/donho/gists{/gist_id}","starred_url":"https://api.github.com/users/donho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donho/subscriptions","organizations_url":"https://api.github.com/users/donho/orgs","repos_url":"https://api.github.com/users/donho/repos","events_url":"https://api.github.com/users/donho/events{/privacy}","received_events_url":"https://api.github.com/users/donho/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T18:16:17Z","updated_at":"2015-12-02T18:16:17Z","body":"Done"}}