On Jul 31, 2012, at 7:46 PM, Dale Henrichs wrote: > Patrik, > > For me the CTL-m, CTL-n, and CTL-b are your greatest friends: > > - CTL-m gives you _implementors_ of the selected message > (can select message in method in browser and args are ignored) > - CTL-n gives you _senders_ > - CTL-b looks up and browses the class > > 'find class' is the other menu item that I use often as you can type in a > partial name (doesn't use regex) and prompts you with list of class names ... > > > 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 ?
Ben > I'm pretty sure that there are other ways, but I bounce around in some many > dialects and so many versions of the dialects, that I can't keep track of the > "coolest new way for doing things"... > > Dale > > ----- Original Message ----- > | From: "Johan Fabry" <[email protected]> > | To: "A friendly place where any question about pharo is welcome" > <[email protected]> > | Sent: Tuesday, July 31, 2012 10:31:09 AM > | Subject: Re: [Pharo-users] How do you guys navigate while editing code? > | > | > | Hi Patrik, > | > | > | have you had a look at > | book.pharo-project.org/book/Tidbits/KeyboardShortcuts ? Does it > | answer your question? If not, it would be good to have that page > | updated. > | > | > | > | On 31 Jul 2012, at 13:07, Patrik Sundberg wrote: > | > | > | Hi, > | > | > | Jumping in as a smalltalk beginner I am, as one would expect, feeling > | frustrated by not knowing my way around. Can see lots of cool stuff > | but all the mouse action is killing me. I'm a vim(+tmux) guy by > | background so the contrast is vast, I usually never need to touch my > | mouse when programming. > | > | > | I was trying to find some keyboard shortcuts to do things like "jump > | to method within class with fuzzy search logic" (type a few > | characters and get list etc) or "jump to the method/class under > | which the cursor is located". The jump to selected needs text > | selection which seems really awkward (even when selecting with > | keyboard), my 90% case is to jump to what's under the cursor. The > | global find class and find methods are good, but most of the time > | I'm interested in "local" navigation in the current class while > | jumping back and forth between methods in same class. > | > | > | I find more things in Nautilus since I can list the shortcuts there, > | but quite a few doesn't seem to work and I'm not having much luck > | using nautilus in 1.4 (and 2.0 too edgy for me right now, need > | metacello to load things cleanly etc at least). In OB in 1.4 I'm not > | able to figure out how to get a list of shortcuts apart from what's > | annotated in menus > | > | > | Guess my question is - how does a keyboard centric person like me > | learn keyboard shortcuts and get productive in the image, more > | specifically 1.4 and OB? How can I work out what keyboard shortcuts > | exist? > | > | > | Thanks! > | > | > | > | > | > | > | ---> Save our in-boxes! http://emailcharter.org <--- > | > | > | Johan Fabry > | [email protected] - http://www.dcc.uchile.cl/~jfabry > | PLEIAD Lab - Computer Science Department (DCC) - University of Chile > | > | > | > | > | >
