I have a class, where I declare the __construct as private, so that subclasses can only be instantiated via the factory() method. Inside the factory() method I have a switch() where, depending on the business logic, it instantiates the different subclasses.
When I want to go to any of the subclases, via F12, it is so frustrating that it sends me a couple of lines below, to the private function _construct(), instead of the actual subclass file.
I understand you want to follow how other IDEs do it, to jump to the constructor instead of the class definition. Can you please make it configurable? A flag in the settings to say if we would prefer to jump to the class definition, or to the __constructor()?
Thank you.