{"action":"created","issue":{"url":"https://api.github.com/repos/aBothe/Mono-D/issues/598","labels_url":"https://api.github.com/repos/aBothe/Mono-D/issues/598/labels{/name}","comments_url":"https://api.github.com/repos/aBothe/Mono-D/issues/598/comments","events_url":"https://api.github.com/repos/aBothe/Mono-D/issues/598/events","html_url":"https://github.com/aBothe/Mono-D/issues/598","id":65456562,"number":598,"title":"Completion for alias this","user":{"login":"etcimon","id":4785754,"avatar_url":"https://avatars.githubusercontent.com/u/4785754?v=3","gravatar_id":"","url":"https://api.github.com/users/etcimon","html_url":"https://github.com/etcimon","followers_url":"https://api.github.com/users/etcimon/followers","following_url":"https://api.github.com/users/etcimon/following{/other_user}","gists_url":"https://api.github.com/users/etcimon/gists{/gist_id}","starred_url":"https://api.github.com/users/etcimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etcimon/subscriptions","organizations_url":"https://api.github.com/users/etcimon/orgs","repos_url":"https://api.github.com/users/etcimon/repos","events_url":"https://api.github.com/users/etcimon/events{/privacy}","received_events_url":"https://api.github.com/users/etcimon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-03-31T13:53:21Z","updated_at":"2015-03-31T17:51:57Z","closed_at":"2015-03-31T17:10:11Z","body":"I rely a lot on the `alias this` overload method, especially when using reference counting. It basically works exactly like inheritance but for structs/classes and without the `override` when overriding a method.\r\n\r\nAt the moment I need to do this to have completion : \r\n\r\n`alias HTTPClientConnection = /*FreeListRef! disabled for IDE */HTTPClientConnectionImpl;`\r\n\r\nHere's an example of how it should work:\r\n\r\n```D\r\nstruct A {\r\n\tvoid hello();\r\n}\r\n\r\nstruct AliasThis {\r\n\talias this A;\r\n}\r\n\r\nvoid main() {\r\n\tAliasThis str;\r\n\tstr.hello |\r\n         //   ^ no completion\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/aBothe/Mono-D/issues/comments/88187169","html_url":"https://github.com/aBothe/Mono-D/issues/598#issuecomment-88187169","issue_url":"https://api.github.com/repos/aBothe/Mono-D/issues/598","id":88187169,"user":{"login":"etcimon","id":4785754,"avatar_url":"https://avatars.githubusercontent.com/u/4785754?v=3","gravatar_id":"","url":"https://api.github.com/users/etcimon","html_url":"https://github.com/etcimon","followers_url":"https://api.github.com/users/etcimon/followers","following_url":"https://api.github.com/users/etcimon/following{/other_user}","gists_url":"https://api.github.com/users/etcimon/gists{/gist_id}","starred_url":"https://api.github.com/users/etcimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etcimon/subscriptions","organizations_url":"https://api.github.com/users/etcimon/orgs","repos_url":"https://api.github.com/users/etcimon/repos","events_url":"https://api.github.com/users/etcimon/events{/privacy}","received_events_url":"https://api.github.com/users/etcimon/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T17:51:57Z","updated_at":"2015-03-31T17:51:57Z","body":"> Nah, I'm not proud of how I've fixed this.. just another foreach and likely incomplete state gathering - that's bad :/\r\n\r\nIt's not a compiler, yet I'm not even bothering to compile more than once a month anymore. I can't find anything else bothering me in the IDE. Except maybe the lack of docs, maybe I can take a few months to write them and clean up in a few months once I'm done with the whole web stack and my main project."}}