[Pharo-dev] DND refactoring

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Pharo-dev] DND refactoring

Stephan Eggermont-3
Yun Young Lee recently did a talk on improvements in refactoring UI.

https://wiki.engr.illinois.edu/display/cs599yyl/DNDRefactoring

It has a nice demo video. It looks like something that could help
reduce the current menu complexity.

Stephan


Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] DND refactoring

stephane ducasse
did you check the smart suggestions :)

Stef

On May 23, 2013, at 1:35 PM, Stephan Eggermont <[hidden email]> wrote:

> Yun Young Lee recently did a talk on improvements in refactoring UI.
>
> https://wiki.engr.illinois.edu/display/cs599yyl/DNDRefactoring
>
> It has a nice demo video. It looks like something that could help
> reduce the current menu complexity.
>
> Stephan
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] DND refactoring

Sean P. DeNigris
Administrator
In reply to this post by Stephan Eggermont-3
Stephan Eggermont wrote
It has a nice demo video. It looks like something that could help
reduce the current menu complexity.
Pretty cool :) Personally, I avoid the mouse whenever possible, but it would be cool to have as an additional feature.

- Sean
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] DND refactoring

Carla F. Griggio
Actually when I use Pharo I use the mouse quite a lot. Maybe because I never got used to its shortcuts or I'm lazy to memorize them (at some point I had to re-learn them, and I was too lazy to do it :P).
I have the feeling that I'm not the only one using a lot the mouse, and interactions like these would get along very well with that common user behaviour. 

We actually already have some drag & drop refactorings, like moving a method from one class to another one :)

Great article, thanks Stephan!




On Thu, May 23, 2013 at 10:50 PM, Sean P. DeNigris <[hidden email]> wrote:
Stephan Eggermont wrote
> It has a nice demo video. It looks like something that could help
> reduce the current menu complexity.

Pretty cool :) Personally, I avoid the mouse whenever possible, but it would
be cool to have as an additional feature.

- Sean



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Pharo-dev-DND-refactoring-tp4689408p4689533.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] DND refactoring

Sean P. DeNigris
Administrator
Carla F. Griggio wrote
Actually when I use Pharo I use the mouse quite a lot
Actually, me too. But only because I don't know any good ways to do what I want with the keyboard :/

Carla F. Griggio wrote
I have the feeling that I'm not the only one using a lot the mouse, and
interactions like these would get along very well with that common user
behaviour.
+1

Carla F. Griggio wrote
We actually already have some drag & drop refactorings, like moving a
method from one class to another one :)
True. It'd be great to document all the cool UI things, especially the new ones. I guess I have no idea half the things I'm able to do in the IDE...
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] DND refactoring

Clément Béra
I like a lot these drag'n'drop refactorings. 


2013/5/24 Sean P. DeNigris <[hidden email]>
Carla F. Griggio wrote
> Actually when I use Pharo I use the mouse quite a lot

Actually, me too. But only because I don't know any good ways to do what I
want with the keyboard :/


On the opposite, I use a lot of shortcut to develop with Pharo. The most common ones are :
Cmd h,a,s (Create and save the accessors of a class)
Cmd h,i (Create the initialize method of a class)
Cmd r,m (Rename a method and all its send sites)
...

Right now you need either to look in the menu or in the shortcut list on the top right arrow of Nautilus to know what you can do.

I guess the best for shortcuts would be to have something like helios IDE in amber, where using shortcuts become trivial with the "shortcut bar" at the bottom.
 

Carla F. Griggio wrote
> I have the feeling that I'm not the only one using a lot the mouse, and
> interactions like these would get along very well with that common user
> behaviour.

+1


Yeah not so many people use Nautilus shortcuts. I know only Camillo who really use them and he taught me.
 

Carla F. Griggio wrote
> We actually already have some drag & drop refactorings, like moving a
> method from one class to another one :)

True. It'd be great to document all the cool UI things, especially the new
ones. I guess I have no idea half the things I'm able to do in the IDE...


+ 1. Recently for example I discover that if you open a scoped browser (a browser on only a subset of packages), then the refactoring engine works only the scoped packages. You can then for example rename a method only in this subset of packages.

However, it is always hard to document this kind of things. Where, what functionality, who will read this ..



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Pharo-dev-DND-refactoring-tp4689408p4689552.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.




--
Clément Béra
Mate Virtual Machine Engineer
Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] DND refactoring

philippeback
Yes, I am reaching for the mouse all too often as well. As a Vim addict, well, ... you know.

Maybe a little ScreenFlow pharocast with on-screen shortcuts while a keymap guru works out Nautilus would come handy.

But one thing is that the shortcuts are done in a non-modal way, so, it suffers the Emacs issue: metain'g every shortcut with Cmd-something. Not to say that we need modal in Pharo (which, given the Txt stuff is quite hard to do anyway).

There is this webdav server that Craig Latta has in Spoon that would be very handy to edit  methods through any editor. Ha, way too much on the plates...

Rgds,

Phil


On Fri, May 24, 2013 at 10:00 AM, Clément Bera <[hidden email]> wrote:
I like a lot these drag'n'drop refactorings. 


2013/5/24 Sean P. DeNigris <[hidden email]>
Carla F. Griggio wrote
> Actually when I use Pharo I use the mouse quite a lot

Actually, me too. But only because I don't know any good ways to do what I
want with the keyboard :/


On the opposite, I use a lot of shortcut to develop with Pharo. The most common ones are :
Cmd h,a,s (Create and save the accessors of a class)
Cmd h,i (Create the initialize method of a class)
Cmd r,m (Rename a method and all its send sites)
...

Right now you need either to look in the menu or in the shortcut list on the top right arrow of Nautilus to know what you can do.

I guess the best for shortcuts would be to have something like helios IDE in amber, where using shortcuts become trivial with the "shortcut bar" at the bottom.
 

Carla F. Griggio wrote
> I have the feeling that I'm not the only one using a lot the mouse, and
> interactions like these would get along very well with that common user
> behaviour.

+1


Yeah not so many people use Nautilus shortcuts. I know only Camillo who really use them and he taught me.
 

Carla F. Griggio wrote
> We actually already have some drag & drop refactorings, like moving a
> method from one class to another one :)

True. It'd be great to document all the cool UI things, especially the new
ones. I guess I have no idea half the things I'm able to do in the IDE...


+ 1. Recently for example I discover that if you open a scoped browser (a browser on only a subset of packages), then the refactoring engine works only the scoped packages. You can then for example rename a method only in this subset of packages.

However, it is always hard to document this kind of things. Where, what functionality, who will read this ..



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Pharo-dev-DND-refactoring-tp4689408p4689552.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.




--
Clément Béra
Mate Virtual Machine Engineer
Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq