----- Original Message ----- | From: "Benjamin" <[email protected]> | To: "A friendly place where any question about pharo is welcome" <[email protected]> | Sent: Tuesday, July 31, 2012 12:22:35 PM | Subject: Re: [Pharo-users] How do you guys navigate while editing code? | | On Jul 31, 2012, at 7:46 PM, Dale Henrichs wrote: | | > Finally I use 'search method source with it' where I select a | > substring and then get a list of all the methods with the | > substring. Depending upon which version of Pharo you are using, | > this menu item is hidden ... (I've found that the Transcript | > consistently has this menu item...WTF). | > | cmd+shift+e ?
that sequence finds string literal matches (I think: method strings vs. method source) which is more restrictive than the source search, since it will find patrial strings, class names, chunks of a selector ... the common use case is that some reports an error message in a bug report mail message and I want to find the method where the error is thrown (or where the message is constructed) and I usually don't know which part of the message is constant and which part is generated, so I pick a likely chunk and see what I end up finding ... usually my first guess is good enough to find the method I am looking for ... Dale
