D
D
DarkByte20152018-10-04 11:40:36
phpstorm
DarkByte2015, 2018-10-04 11:40:36

How to prevent phpstorm from going to the base class itself?

This thing infuriates me: the code contains a constructor call, for example $model = new Model(). I poke with Ctrl on new Model () and I am thrown right up to the very base class where the constructor was (there is a long hierarchy in frameworks), and I just wanted to open the source of this class. In this case, I do not need a constructor (which was not redefined in the model). Because of this, you have to scroll up from the use list in order to click on the use of this class there and go to its source. But if there is a lot of code in the file, then you have to scroll through for a long time, and you will even forget while scrolling which class you are looking for or what line it was on before ... Is it possible to somehow configure this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2018-10-04
@GavriKos

If you need a class, click on the class, not on the method. The transition is carried out not to the base class, but to the method - so it's all logical.
Alas, I won’t tell you how to pass to a class in untyped languages ​​(

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question