{"action":"created","issue":{"url":"https://api.github.com/repos/fdorg/flashdevelop/issues/886","labels_url":"https://api.github.com/repos/fdorg/flashdevelop/issues/886/labels{/name}","comments_url":"https://api.github.com/repos/fdorg/flashdevelop/issues/886/comments","events_url":"https://api.github.com/repos/fdorg/flashdevelop/issues/886/events","html_url":"https://github.com/fdorg/flashdevelop/issues/886","id":109032185,"number":886,"title":"Viewing a model of an interface inside SWC doesn't work","user":{"login":"gene-pavlovsky","id":2841193,"avatar_url":"https://avatars.githubusercontent.com/u/2841193?v=3","gravatar_id":"","url":"https://api.github.com/users/gene-pavlovsky","html_url":"https://github.com/gene-pavlovsky","followers_url":"https://api.github.com/users/gene-pavlovsky/followers","following_url":"https://api.github.com/users/gene-pavlovsky/following{/other_user}","gists_url":"https://api.github.com/users/gene-pavlovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/gene-pavlovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gene-pavlovsky/subscriptions","organizations_url":"https://api.github.com/users/gene-pavlovsky/orgs","repos_url":"https://api.github.com/users/gene-pavlovsky/repos","events_url":"https://api.github.com/users/gene-pavlovsky/events{/privacy}","received_events_url":"https://api.github.com/users/gene-pavlovsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-30T07:32:51Z","updated_at":"2015-09-30T07:34:06Z","closed_at":null,"body":"When I press F4 on a built-in interface, e.g. ``flash.utils.IExternalizable``, it opens a ``[model] IExternalizable.as`` tab, containing (as expected):\r\n```actionscript\r\n// C:\\Users\\root\\AppData\\Local\\FlashDevelop\\Apps\\ascsdk\\18.0.0\\frameworks\\libs\\air\\airglobal.swc\\flash\\utils\\IExternalizable\r\n...\r\npublic interface IExternalizable\r\n...\r\n```\r\n\r\nI'm working with Feathers (feathersui.com), when I press F4 on ``feathers.core.IFeathersControl``, it opens a ``[model] IFeathersControl``, but instead of an interface, it shows a class, with a strange ``extends *`` all methods as protected:\r\n```actionscript\r\n// C:\\project\\apps\\FXCalc\\lib\\feathers.swc\\feathers\\core\\IFeathersControl\r\n...\r\npublic class IFeathersControl extends * implements IValidating\r\n{\r\n\tprotected function get clipRect () : Rectangle;\r\n...\r\n```\r\n\r\nIn the feathers source code IFeathersControl is an interface (that doesn't extend anything).\r\nEither feathers SWC is compiled in some strange way, or FD for some reasons fails to extract the interface's model from the SWC correctly."},"comment":{"url":"https://api.github.com/repos/fdorg/flashdevelop/issues/comments/144313811","html_url":"https://github.com/fdorg/flashdevelop/issues/886#issuecomment-144313811","issue_url":"https://api.github.com/repos/fdorg/flashdevelop/issues/886","id":144313811,"user":{"login":"gene-pavlovsky","id":2841193,"avatar_url":"https://avatars.githubusercontent.com/u/2841193?v=3","gravatar_id":"","url":"https://api.github.com/users/gene-pavlovsky","html_url":"https://github.com/gene-pavlovsky","followers_url":"https://api.github.com/users/gene-pavlovsky/followers","following_url":"https://api.github.com/users/gene-pavlovsky/following{/other_user}","gists_url":"https://api.github.com/users/gene-pavlovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/gene-pavlovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gene-pavlovsky/subscriptions","organizations_url":"https://api.github.com/users/gene-pavlovsky/orgs","repos_url":"https://api.github.com/users/gene-pavlovsky/repos","events_url":"https://api.github.com/users/gene-pavlovsky/events{/privacy}","received_events_url":"https://api.github.com/users/gene-pavlovsky/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T07:34:06Z","updated_at":"2015-09-30T07:34:06Z","body":"Also, due to this, FD doesn't offer code completion for the interface in question."}}