Hi Stef

2018-03-27 23:11 GMT+02:00 Stephane Ducasse <[email protected]>:

> Hi denis
>
> Calypso asked me where I want to install a method.
>

Normally this dialog appears when you edit a method which class is not
selected in the browser.
For example if you enable superclass method visibility and edit one of
inherited methods.
But give me your scenario.


> And I do not really appreciate that I get the inheritance tree reserved.
>

There is setting for this. And I am not against to change default value or
hardcode this part.

Originally it was simple list with selected class at the bottom. Then there
was issue The currently edited class should be the first option when
overriding methods <https://github.com/dionisiydk/Calypso/issues/163>.
Idea that first item should be the most common case which is selected class.
At the end I realized that I can easily show hierarchy which I though is
better than simple list. And I reused existing hierarchy from method
visibility list.

So there are two points for this dialog:
- do we want selected class to be first?
- do we want hierarchical view?

Best regards,
Denis

To me it will destroy students.
> On my own code which is super stupid I had to think twice. I cannot
> image students.
>
> Then when working on code that is not ours it is be super difficult to
> understand anything.
>
> How can I set that superclass should be higher than subclasses?
>
> Stef
>

Reply via email to