change parent php class (for autocomplete)

Anybody knows, if it's possible to create a plugin, which could help me with ?

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

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


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

Please sign in to leave a comment.