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:.2016-07-26 1:33 GMT+02:00 Hernán Morales Durand <[hidden email]>:
|
In reply to this post by Norbert Fortelny
I like the that one too. Cannot think of any pitfalls.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. |
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 |
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. 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 |
In reply to this post by Ben Coman
> Hi Norbert,
No, I wouldn't have, or rather maybe, if I had tried hard enough.
> > 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 > 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. |
Indeed it has , future looks very promising
On Tue, 26 Jul 2016 at 14:05, Norbert Fortelny <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |