On Dec 11, 2009, at 8:44 AM, Lukas Renggli wrote:

>> [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.
> 
>> - 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.

We should really clean that. 

> 
>> 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.

We should have a look at the trunk/Squeak integration of TextEditor from CUIS 
because this would
be good to integrate it. 



> Lukas
> 
> -- 
> Lukas Renggli
> http://www.lukas-renggli.ch
> 
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


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

Reply via email to