|
| <prev next> |
Re: how to search for text?: msg#00121lang.smalltalk.squeak.beginners
On Fri, Nov 30, 2007 at 02:11:26PM -0600, itsme213 wrote: > How do I search all method bodies for a text string? There are a lot of ways, depending on what you are looking for. Hilinght some text in a browser, workspace, or any other text editor in squeak, and explore the right-click menu implementors: shows all methods that could respond if you send a message with the hilgighted name senders: shows all methods that send the hilighted message at some point These are the two most common things you want to search for, and they have shortcuts: cmd-m and cmd-n, respectively. Try typing 'new', select it , and try all the options you can seach for an arbitrary string in all code by the menu item 'method source with it', under the 'more...' menu. other useful search tools In the system browser, put the mouse over the top-left pane and press cmd-f to find a class by name in the world > open menu, there is the method finder, which lets you search methods by name or example input/output -- Matthew Fulmer -- http://mtfulmer.wordpress.com/ Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: traits button in system browser, Matthew Fulmer |
|---|---|
| Next by Date: | Re: Installing Squeak From the Linux Command Line, Markus Schlager |
| Previous by Thread: | Re: how to search for text?, Bert Freudenberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |