{"action":"opened","issue":{"url":"https://api.github.com/repos/TiVo/intellij-haxe/issues/288","labels_url":"https://api.github.com/repos/TiVo/intellij-haxe/issues/288/labels{/name}","comments_url":"https://api.github.com/repos/TiVo/intellij-haxe/issues/288/comments","events_url":"https://api.github.com/repos/TiVo/intellij-haxe/issues/288/events","html_url":"https://github.com/TiVo/intellij-haxe/issues/288","id":84627315,"number":288,"title":"Detect method return types not just by typetag signature","user":{"login":"soywiz","id":570848,"avatar_url":"https://avatars.githubusercontent.com/u/570848?v=3","gravatar_id":"","url":"https://api.github.com/users/soywiz","html_url":"https://github.com/soywiz","followers_url":"https://api.github.com/users/soywiz/followers","following_url":"https://api.github.com/users/soywiz/following{/other_user}","gists_url":"https://api.github.com/users/soywiz/gists{/gist_id}","starred_url":"https://api.github.com/users/soywiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soywiz/subscriptions","organizations_url":"https://api.github.com/users/soywiz/orgs","repos_url":"https://api.github.com/users/soywiz/repos","events_url":"https://api.github.com/users/soywiz/events{/privacy}","received_events_url":"https://api.github.com/users/soywiz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-03T15:40:27Z","updated_at":"2015-06-03T15:40:27Z","closed_at":null,"body":"Today I was able to successfully compile intelliJ haxe plugin and be able to debug it and play a bit with it. And I want to collaborate (I have already forked the project).\r\n\r\nSome stuff is a little mess. And requires some refactoring.\r\nI ended in AbstractHaxeNamedComponent.getPresentation() that is used when IDE displays list of members for example using \"this.\" I have seen that it search for a HaxeTypeTag instance, so that display won't be able to present successfully in other cases.\r\n\r\nSo I would start using HaxeMethodPsiMixinImpl.getTypeTag initially, and then having a proper method that analyzes the AST to get the return type.\r\n\r\nIf you could help me with these questions it would be easier for me:\r\nIs already code that analyzes psi nodes to get an haxe type?\r\nvar a = this.method(); // where is resolved the a type obtained from the method? So I can updated that code too.\r\n"}}