{"action":"created","issue":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/479","labels_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/479/comments","events_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/479/events","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/479","id":94565877,"number":479,"title":"Automatic indentation detection","user":{"login":"Ede123","id":904570,"avatar_url":"https://avatars.githubusercontent.com/u/904570?v=3","gravatar_id":"","url":"https://api.github.com/users/Ede123","html_url":"https://github.com/Ede123","followers_url":"https://api.github.com/users/Ede123/followers","following_url":"https://api.github.com/users/Ede123/following{/other_user}","gists_url":"https://api.github.com/users/Ede123/gists{/gist_id}","starred_url":"https://api.github.com/users/Ede123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ede123/subscriptions","organizations_url":"https://api.github.com/users/Ede123/orgs","repos_url":"https://api.github.com/users/Ede123/repos","events_url":"https://api.github.com/users/Ede123/events{/privacy}","received_events_url":"https://api.github.com/users/Ede123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/labels/feature","name":"feature","color":"006b75"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":6,"created_at":"2015-07-12T13:35:54Z","updated_at":"2015-11-16T21:13:27Z","closed_at":null,"body":"A *really* helpful feature for Notepad++ would be automatic indentation detection (e.g. tabs or spaces? 2 or 4 spaces? etc.)\r\n\r\nIn fact we already have a patch for that!\r\n* Original patch was at https://sourceforge.net/p/notepad-plus/patches/645/\r\n* A pull request (that predates the project's move to GitHub) is at https://github.com/mirror/notepadplus/pull/1\r\n* The (slightly outdated) forked repository is at https://github.com/john-peterson/notepadplus/commits/indent\r\n\r\nQuestions:\r\n* @ project maintainers: Could this finally be considered for merging? It is one of those long-standing issues where a volunteer has put in considerable time and effort, but that (for whatever reason) was never merged by Don back then.\r\n* @john-peterson: Would you be willing to update the pull request? (Of course I'd understand if you where hesitant, unless there's some positive feedback by maintainers)\r\n"},"comment":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/comments/157172708","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/479#issuecomment-157172708","issue_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/479","id":157172708,"user":{"login":"vincepare","id":12776003,"avatar_url":"https://avatars.githubusercontent.com/u/12776003?v=3","gravatar_id":"","url":"https://api.github.com/users/vincepare","html_url":"https://github.com/vincepare","followers_url":"https://api.github.com/users/vincepare/followers","following_url":"https://api.github.com/users/vincepare/following{/other_user}","gists_url":"https://api.github.com/users/vincepare/gists{/gist_id}","starred_url":"https://api.github.com/users/vincepare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincepare/subscriptions","organizations_url":"https://api.github.com/users/vincepare/orgs","repos_url":"https://api.github.com/users/vincepare/repos","events_url":"https://api.github.com/users/vincepare/events{/privacy}","received_events_url":"https://api.github.com/users/vincepare/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T21:13:27Z","updated_at":"2015-11-16T21:13:27Z","body":"If you can't wait for this feature to be merged, you can use this python script as a workaround : [Automatic indentation detection for Notepad++](https://gist.github.com/vincepare/8a204172d959defb2122) (requires [Python Script](http://sourceforge.net/projects/npppythonscript/files/Python%20Script%201.0.8.0/) extension).\r\n\r\nAfter installing Python Script, put the startup.py file either into `%appdata%\\Notepad++\\plugins\\config\\PythonScript\\scripts` (user script) or into `C:\\Program Files\\Notepad++\\plugins\\PythonScript\\scripts` (machine script).\r\n\r\nThen, go to Notepad++ : Plugins > Python Script > Configuration, select the `startup.py` script and choose `ATSTARTUP` as Initialisation to run the script at notepad++ startup."}}