change parent php class (for autocomplete)

Anybody knows, if it's possible to create a plugin, which could help me with http://devnet.jetbrains.com/thread/311967 ?

My idea was, to put @xfcp REAL CLASSNAMe into the file, so the IDE knows, which class should be handled as the parent

/**
* @xfcp XenForo_DataWriter_User
*
*/
class MyAddon_Extend_DataWriter_User extends
    XFCP_MyAddon_Extend_DataWriter_User
{
//
}



and then have a phpstorm plugin, which helps me to let phpstorm think that the class extends from the class after @xfcp
e.g. in my case

and not

XFCP_MyAddon_Extend_DataWriter_User 

because all classes which start with XFCP doesn't exist in the filesystem)
0

请先登录再写评论。