{"action":"created","issue":{"url":"https://api.github.com/repos/Remillard/VHDL-Mode/issues/107","repository_url":"https://api.github.com/repos/Remillard/VHDL-Mode","labels_url":"https://api.github.com/repos/Remillard/VHDL-Mode/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/Remillard/VHDL-Mode/issues/107/comments","events_url":"https://api.github.com/repos/Remillard/VHDL-Mode/issues/107/events","html_url":"https://github.com/Remillard/VHDL-Mode/pull/107","id":385422392,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0Mzk3MDQ3","number":107,"title":"Auto-detect indentation preference","user":{"login":"stefanlippuner","id":3071885,"node_id":"MDQ6VXNlcjMwNzE4ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/3071885?v=4","gravatar_id":"","url":"https://api.github.com/users/stefanlippuner","html_url":"https://github.com/stefanlippuner","followers_url":"https://api.github.com/users/stefanlippuner/followers","following_url":"https://api.github.com/users/stefanlippuner/following{/other_user}","gists_url":"https://api.github.com/users/stefanlippuner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanlippuner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanlippuner/subscriptions","organizations_url":"https://api.github.com/users/stefanlippuner/orgs","repos_url":"https://api.github.com/users/stefanlippuner/repos","events_url":"https://api.github.com/users/stefanlippuner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanlippuner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-28T19:29:03Z","updated_at":"2018-12-01T13:44:50Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Remillard/VHDL-Mode/pulls/107","html_url":"https://github.com/Remillard/VHDL-Mode/pull/107","diff_url":"https://github.com/Remillard/VHDL-Mode/pull/107.diff","patch_url":"https://github.com/Remillard/VHDL-Mode/pull/107.patch"},"body":"Indent using tabs instead of spaces, this allows ST to automatically convert them to the users preference"},"comment":{"url":"https://api.github.com/repos/Remillard/VHDL-Mode/issues/comments/443427341","html_url":"https://github.com/Remillard/VHDL-Mode/pull/107#issuecomment-443427341","issue_url":"https://api.github.com/repos/Remillard/VHDL-Mode/issues/107","id":443427341,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzQyNzM0MQ==","user":{"login":"Remillard","id":28012313,"node_id":"MDQ6VXNlcjI4MDEyMzEz","avatar_url":"https://avatars0.githubusercontent.com/u/28012313?v=4","gravatar_id":"","url":"https://api.github.com/users/Remillard","html_url":"https://github.com/Remillard","followers_url":"https://api.github.com/users/Remillard/followers","following_url":"https://api.github.com/users/Remillard/following{/other_user}","gists_url":"https://api.github.com/users/Remillard/gists{/gist_id}","starred_url":"https://api.github.com/users/Remillard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Remillard/subscriptions","organizations_url":"https://api.github.com/users/Remillard/orgs","repos_url":"https://api.github.com/users/Remillard/repos","events_url":"https://api.github.com/users/Remillard/events{/privacy}","received_events_url":"https://api.github.com/users/Remillard/received_events","type":"User","site_admin":false},"created_at":"2018-12-01T13:44:50Z","updated_at":"2018-12-01T13:44:50Z","author_association":"OWNER","body":"Okay I've browsed through my older code and your alteration which is pretty simple.  This just sets the default to using tabs.\r\n\r\nIt's probably not really useful to go through the whole settings detection in the entity pasting command simply because I was trying to keep a certain amount of API separation there.  The classes in methods of vhdl_lang.py are by and large ignorant of Sublime Text 3 calls.  That's why I do the check in the beautify method before it calls all those methods.  However in the case of the entity, we're already down in the Interface class so calling it there would break my agnosticism.  Changing the default to use Tabs will do what you say, put in tabs and then Sublime ought to alter that per user settings automatically and produce a good result. \r\n\r\nAccepting the merge as-is and I'll write up the approrpriate documentation to accompany it."}}
{"actor":{"display_login":"Remillard"}}