[Pharo-project] AST-Navigation short demo
Hi! I've recorded the video as Damian suggested to show how to use the code navigation based in the ast :) Here it's the video: http://www.youtube.com/watch?v=pFLyzEI0jmE (Sorry for my English) And if you want to try: Gofer it url: 'http://smalltalkhub.com/mc/gisela/NodeNavigation/main'; package: 'ConfigurationOfNodeNavigation'; load. ((Smalltalk globals at: #ConfigurationOfNodeNavigation) project version: #development) load. A summary for the shortcuts: - going to the parent: ctrl + shift + p (command + shift + p for mac) - going to the first child: ctrl + shift + o (command + shift + o for mac) - going to same level node: ctrl + shift + u (command + shift + u for mac) It would be great to use the arrowUp or down, I want to check if it's easy to make them work first and also make the navigation available for debugger, workspace, message browser (...)
Hi Gisela, thank you very much for the work and video, it's great. I'm thinking that when you do ctrl + shift + o, you might want to go the previously selected child node and not to the first one. This way, you can press ctrl + shift + p very fast, even one time too much, and go back to the previous selection by pressing ctrl+shift+o once. What do you think? On Wed, May 8, 2013 at 2:03 PM, Gisela Decuzzi <giseladecuzzi@gmail.com> wrote:
Hi! I've recorded the video as Damian suggested to show how to use the code navigation based in the ast :)
Here it's the video: http://www.youtube.com/watch?v=pFLyzEI0jmE (Sorry for my English)
And if you want to try: Gofer it url: 'http://smalltalkhub.com/mc/gisela/NodeNavigation/main'; package: 'ConfigurationOfNodeNavigation'; load. ((Smalltalk globals at: #ConfigurationOfNodeNavigation) project version: #development) load.
A summary for the shortcuts: - going to the parent: ctrl + shift + p (command + shift + p for mac) - going to the first child: ctrl + shift + o (command + shift + o for mac) - going to same level node: ctrl + shift + u (command + shift + u for mac)
It would be great to use the arrowUp or down, I want to check if it's easy to make them work first and also make the navigation available for debugger, workspace, message browser (...)
-- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
What do you think?
I have another command (with a broken keymap at least in linux ctrl + o I think) that allows you to choose the node you want if you have multiple options. I think that going allways to the first child is less confusing, but we can give a try and see how it works. 2013/5/8 Damien Cassou <damien.cassou@gmail.com>
Hi Gisela,
thank you very much for the work and video, it's great. I'm thinking that when you do ctrl + shift + o, you might want to go the previously selected child node and not to the first one. This way, you can press ctrl + shift + p very fast, even one time too much, and go back to the previous selection by pressing ctrl+shift+o once. What do you think?
On Wed, May 8, 2013 at 2:03 PM, Gisela Decuzzi <giseladecuzzi@gmail.com> wrote:
Hi! I've recorded the video as Damian suggested to show how to use the code navigation based in the ast :)
Here it's the video: http://www.youtube.com/watch?v=pFLyzEI0jmE (Sorry for my English)
And if you want to try: Gofer it url: 'http://smalltalkhub.com/mc/gisela/NodeNavigation/main'; package: 'ConfigurationOfNodeNavigation'; load. ((Smalltalk globals at: #ConfigurationOfNodeNavigation) project version: #development) load.
A summary for the shortcuts: - going to the parent: ctrl + shift + p (command + shift + p for mac) - going to the first child: ctrl + shift + o (command + shift + o for mac) - going to same level node: ctrl + shift + u (command + shift + u for mac)
It would be great to use the arrowUp or down, I want to check if it's easy to make them work first and also make the navigation available for debugger, workspace, message browser (...)
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
gisela Did you implement an sender and implementors based on the selector (ast analysis)? Did we replace the old one with this new one? Stef On May 8, 2013, at 2:03 PM, Gisela Decuzzi <giseladecuzzi@gmail.com> wrote:
Hi! I've recorded the video as Damian suggested to show how to use the code navigation based in the ast :)
Here it's the video: http://www.youtube.com/watch?v=pFLyzEI0jmE (Sorry for my English)
And if you want to try: Gofer it url: 'http://smalltalkhub.com/mc/gisela/NodeNavigation/main'; package: 'ConfigurationOfNodeNavigation'; load. ((Smalltalk globals at: #ConfigurationOfNodeNavigation) project version: #development) load.
A summary for the shortcuts: - going to the parent: ctrl + shift + p (command + shift + p for mac) - going to the first child: ctrl + shift + o (command + shift + o for mac) - going to same level node: ctrl + shift + u (command + shift + u for mac)
It would be great to use the arrowUp or down, I want to check if it's easy to make them work first and also make the navigation available for debugger, workspace, message browser (...)
2013/5/8 stephane ducasse <stephane.ducasse@free.fr>
Did you implement an sender and implementors based on the selector (ast analysis)?
Yes (but in smarts suggestions) It's already integrated :) ctrl + t (or command t) is the shortcut to see the menu. I will try to upload a video for the suggestions tomorrow. Did we replace the old one with this new one?
No, the old behavior is there, I think that it can be useful to find senders/implementors from a code selection and no for the full selector only... but I don't think that the default should be the selection... don't know if we are all agree in that...
On May 9, 2013, at 12:32 AM, Gisela Decuzzi <giseladecuzzi@gmail.com> wrote:
2013/5/8 stephane ducasse <stephane.ducasse@free.fr> Did you implement an sender and implementors based on the selector (ast analysis)? Yes (but in smarts suggestions) It's already integrated :) ctrl + t (or command t) is the shortcut to see the menu. I will try to upload a video for the suggestions tomorrow.
I would add a setting to bind ctrl-m and n to the smart suggestion.
Did we replace the old one with this new one? No, the old behavior is there, I think that it can be useful to find senders/implementors from a code selection and no for the full selector onlyâ¦
ok I see what you mean we have foo: 34 bar: 32 and I want to ook for foo: and not foo:bar:
but I don't think that the default should be the selection... don't know if we are all agree in that...
participants (3)
-
Damien Cassou -
Gisela Decuzzi -
stephane ducasse