System Browser "Implementors of..." drill down?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
26 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: System Browser "Implementors of..." drill down?

Thierry Goubier
I prefer direct manipulation:

- shorten the menu in a code pane, add implementors based on the selected / where cursor is in text (aka smart suggestion): below is the menu for the cursor inside #import:provides:.

Images intégrées 1


2016-07-26 1:33 GMT+02:00 Hernán Morales Durand <[hidden email]>:
See attachment

Hernán


2016-07-24 18:19 GMT-03:00 stepharo <[hidden email]>:

Hi hernan

Could you send a screenshot so that I understand precisely what you mean?

I tend to listen to grumbling people like you and me :)

Stef


Le 22/7/16 à 09:24, Hernán Morales Durand a écrit :
This was actually implemented in older versions of Pharo (or Squeak), the browser also included very handy buttons in the middle to save precious clicks.

The right thing to do is to replace the "..." non-sense with the selected method selector, and to offer another menu item which displays all method selectors of the currently selected method, and let the user to decide which one to browse.

Hernán

2016-07-21 14:54 GMT-03:00 Norbert Fortelny <[hidden email]>:
Something I have not figured out how to do easily in the Pharo system
browser:
I am looking at a method and want to see how a message that is used in this
method is implemented. In other Smalltalks (e.g. Cincoms) I use the menu
item "Implementors of..." and get a list of all the messages that are used
in this method and can choose one to drill down.
In Pharo I get an immediate answer but only the implementors of my original
method.
Why are there those "..." at  the end of this menu item indicating some
further choice when there is none?
How to do this drilling down in Pharo?




--
View this message in context: http://forum.world.st/System-Browser-Implementors-of-drill-down-tp4907380.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.





Reply | Threaded
Open this post in threaded view
|

Re: System Browser "Implementors of..." drill down?

hernanmd
In reply to this post by Norbert Fortelny
I like the that one too.
Cannot think of any pitfalls.

Hernán

2016-07-26 5:15 GMT-03:00 Norbert Fortelny <[hidden email]>:
What about just adding the method itself as the first item to the list.
Like it is in VW Smalltalk: attached.
Could I try my hand on this?
Does anyone know about possible pitfalls to be aware of?
Old hands: any thoughts?

On 26/07/2016 01:50, hernanmd [via Smalltalk] wrote:

> See attachment
>
> Hernán
>
>
> 2016-07-24 18:19 GMT-03:00 stepharo <[hidden email]
> </user/SendEmail.jtp?type=node&node=4907915&i=0>>:
>

>     Hi hernan
>
>     Could you send a screenshot so that I understand precisely what you
>     mean?
>
>     I tend to listen to grumbling people like you and me :)
>
>     Stef
>
>
>     Le 22/7/16 à 09:24, Hernán Morales Durand a écrit :
>>     This was actually implemented in older versions of Pharo (or
>>     Squeak), the browser also included very handy buttons in the
>>     middle to save precious clicks.
>>
>>     The right thing to do is to replace the "..." non-sense with the
>>     selected method selector, and to offer another menu item which
>>     displays all method selectors of the currently selected method,
>>     and let the user to decide which one to browse.
>>
>>     Hernán
>>
>>     2016-07-21 14:54 GMT-03:00 Norbert Fortelny <[hidden email]
>>     </user/SendEmail.jtp?type=node&node=4907915&i=1>>:
>>

>>         Something I have not figured out how to do easily in the Pharo
>>         system
>>         browser:
>>         I am looking at a method and want to see how a message that is
>>         used in this
>>         method is implemented. In other Smalltalks (e.g. Cincoms) I
>>         use the menu
>>         item "Implementors of..." and get a list of all the messages
>>         that are used
>>         in this method and can choose one to drill down.
>>         In Pharo I get an immediate answer but only the implementors
>>         of my original
>>         method.
>>         Why are there those "..." at  the end of this menu item
>>         indicating some
>>         further choice when there is none?
>>         How to do this drilling down in Pharo?
>>
>>
>>
>>
>>         --
>>         View this message in context:
>>         http://forum.world.st/System-Browser-Implementors-of-drill-down-tp4907380.html
>>         Sent from the Pharo Smalltalk Users mailing list archive at
>>         Nabble.com.
>>
>>
>
>
>
> *CHB1.jpg* (134K) Download Attachment

Senders in VW ST.tiff (1M) Download Attachment


View this message in context: Re: System Browser "Implementors of..." drill down?

Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: System Browser "Implementors of..." drill down?

Ben Coman
In reply to this post by Henrik Nergaard
> -----Original Message-----
> From: Pharo-users [mailto:[hidden email]] On Behalf Of Norbert Fortelny
> Sent: Thursday, July 21, 2016 7:55 PM
> To: [hidden email]
> Subject: [Pharo-users] System Browser "Implementors of..." drill down?
>
> Something I have not figured out how to do easily in the Pharo system
> browser:
> I am looking at a method and want to see how a message that is used in this method is implemented. In other Smalltalks (e.g. Cincoms) I use the menu item "Implementors of..." and get a list of all the messages that are used in this method and can choose one to drill down.
> In Pharo I get an immediate answer but only the implementors of my original method.
> Why are there those "..." at  the end of this menu item indicating some further choice when there is none?
> How to do this drilling down in Pharo?


On Fri, Jul 22, 2016 at 3:03 AM, Henrik Nergaard <[hidden email]> wrote:
> This can be achieved by selecting the message/class from the text area and either right clicking and using the menu->submenu "Code search..." or you can use the shortcuts: meta+m for implementors, meta+n for senders, and meta+shift+n for references of it.
> There is also a shortcut (meta+space) for selecting the whole text between separators from where the cursor is.
>
> "meta" is what <OSPlatform current defaultModifier> evaluates to (Ctrl on windows) .
>
> Best regards,
> Henrik
>


Hi Norbert,

As a newcomer, just curious about your impression of the double-key
shortcut "Ctrl/Cmd + B + M" shown against the "Implementers of..."
menu item?
Do you think you would have discovered yourself using meta+m like
Henrik describes if that was what was shown as the menu item shortcut
instead?

cheers -ben

Reply | Threaded
Open this post in threaded view
|

Re: System Browser "Implementors of..." drill down?

Ben Coman
In reply to this post by Norbert Fortelny
On Tue, Jul 26, 2016 at 4:15 PM, Norbert Fortelny <[hidden email]> wrote:
What about just adding the method itself as the first item to the list.
Like it is in VW Smalltalk: attached.
Could I try my hand on this?
Does anyone know about possible pitfalls to be aware of?
Old hands: any thoughts?

I'm trying to hard to think whether I'd like that or not - but I'm not sure.  If no one really objects, you should give it a go.  Nothing like jumping in feet first to get to know a platform.
cheers -ben   

Reply | Threaded
Open this post in threaded view
|

Re: System Browser "Implementors of..." drill down?

Norbert Fortelny
In reply to this post by Ben Coman
> Hi Norbert,
>
> As a newcomer, just curious about your impression of the double-key
> shortcut "Ctrl/Cmd + B + M" shown against the "Implementers of..."
> menu item?
> Do you think you would have discovered yourself using meta+m like
> Henrik describes if that was what was shown as the menu item shortcut
> instead?
>
> cheers -ben
>
No, I wouldn't have, or rather maybe, if I had tried hard enough.
As it is in 5.0 this is clear and easy. Being on a Mac it even shows me
the ⌘ correctly, great!
Pharo has come a long way.
Reply | Threaded
Open this post in threaded view
|

Re: System Browser "Implementors of..." drill down?

kilon.alios
Indeed it has , future looks very promising
On Tue, 26 Jul 2016 at 14:05, Norbert Fortelny <[hidden email]> wrote:
> Hi Norbert,

>
> As a newcomer, just curious about your impression of the double-key
> shortcut "Ctrl/Cmd + B + M" shown against the "Implementers of..."
> menu item?
> Do you think you would have discovered yourself using meta+m like
> Henrik describes if that was what was shown as the menu item shortcut
> instead?
>
> cheers -ben
>
No, I wouldn't have, or rather maybe, if I had tried hard enough.
As it is in 5.0 this is clear and easy. Being on a Mac it even shows me
the ⌘ correctly, great!
Pharo has come a long way.


View this message in context: Re: System Browser "Implementors of..." drill down?
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
12