Em 11/12/2009 05:44, Lukas Renggli < [email protected] > escreveu:

> > [snip]
>  Yeah, I agree on all ;-)
>
> > will with  every next hit on  left arrow select a  larger block of
> > code. So if  my cursor is on a message send,  it will first select
> > the message send, next the receiver and the message send, next: if
> > this was a nested, select the part out of that, and so forth. This
> > is very  handy if  you for  instance want to  do a  extract method
> > refactoring on some part of the code. Just quickly select it using
> > this Alt-Shift selection and extract it.
>  That's a cool idea. I will add it to the refactoring tools.
+1
>
> > - Which brings me to  the refactoring shortcuts, which I'm missing
> > the most.   * The most  important one is  rename. In Eclipse  if I
> > select a field, a temporary var, a message, a class, anything that
> > can be renamed; I can always hit Alt-Shift-R to rename it. I don't
> > have to  go into  a menu, refactor  class, or refactor  method, or
> > refactor source with the mouse to select rename. Just click on it,
> > hit the shortcut, type the new name and hit Enter.
>  The  problem is  that  Pharo already  binds  all possible  keyboard
> shortcuts to something,  which leaves no space for  other tools like
> the refactoring engine.

I think we could have some leeway if we give  up to the present double 
mapping of some  short cuts that accept the Alt and Cmd prefixes to do
the same thing (at least in Windows is worse than that because sometimes
this double mapping works sometimes does not.

>  > How are experienced Smalltalkers feeling about this?
>  Safara was  an attempt to  implement a replacement for  the current
> text  editor, where nothing  was hardcoded  but everything  could be
> configured  by   the  tool  (highlighting,   completing,  shortcuts,
> ...).  Unfortunately  this project  never  made  it  into a  useable
> state. Writing a text editor is difficult.

Besides, I  _think_ putting a completely reconfigurable environment in
Pharo's  toolset  will create  the anxiety  of the "paradox of choice" 
without bringing  too much added value.  We already  have lot of 'fun'
having do spread remarks all over the documentation about the
appeareance of the tools and  still have a half baked solution for the 
naming of mouse buttons, imagine the added complexity of having to all
the time have to put remarks on keyboard shorcuts!!

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to