[Pharo-project] Question about the Refactoring Browser
Hi, I want to analyze some Smalltalk code in a collection of Monticello packages without actually loading these packages in the image. Can I use the Refactoring Browser for this? Jan.
This week there was similar thread: http://forum.world.st/Code-Critics-for-unloaded-projects-td3425020.html On Wed, Apr 6, 2011 at 2:47 PM, Jan van de Sandt <jvdsandt@gmail.com> wrote:
Hi,
I want to analyze some Smalltalk code in a collection of Monticello packages without actually loading these packages in the image. Can I use the Refactoring Browser for this?
Jan.
-- Mariano http://marianopeck.wordpress.com
Thanks, If I understand correctly I can get a refactoring code model of the unloaded code, but I cannot run the code critics on the model. Ok, I will have a look what functionality this model provides. And I have to figure out how to construct this model using a collection of Monticello packages. Jan. On Wed, Apr 6, 2011 at 2:53 PM, Mariano Martinez Peck <marianopeck@gmail.com
wrote:
This week there was similar thread: http://forum.world.st/Code-Critics-for-unloaded-projects-td3425020.html
On Wed, Apr 6, 2011 at 2:47 PM, Jan van de Sandt <jvdsandt@gmail.com>wrote:
Hi,
I want to analyze some Smalltalk code in a collection of Monticello packages without actually loading these packages in the image. Can I use the Refactoring Browser for this?
Jan.
-- Mariano http://marianopeck.wordpress.com
Hi jan
Thanks,
If I understand correctly I can get a refactoring code model of the unloaded code,
I do not think so. Even if we are working on Ring just for this scenario I doubt it worked by default.
but I cannot run the code critics on the model.
Ok, I will have a look what functionality this model provides. And I have to figure out how to construct this model using a collection of Monticello packages.
May be you can be interested by RING: the new source code meta model developed by Veronica (the woman behind Torch) She did an excellent job and we need people to use it and give feedback. Our vision is that we want to use RING (a meta model with the same interface as the one of the Smalltalk runobject) so that we can do remote access file browsing version comparison using the same tools. We have a paper under submission if you are interested. Stef
Jan.
On Wed, Apr 6, 2011 at 2:53 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote: This week there was similar thread: http://forum.world.st/Code-Critics-for-unloaded-projects-td3425020.html
On Wed, Apr 6, 2011 at 2:47 PM, Jan van de Sandt <jvdsandt@gmail.com> wrote: Hi,
I want to analyze some Smalltalk code in a collection of Monticello packages without actually loading these packages in the image. Can I use the Refactoring Browser for this?
Jan.
-- Mariano http://marianopeck.wordpress.com
On Apr 6, 2011, at 6:19 PM, Lukas Renggli wrote:
If I understand correctly I can get a refactoring code model of the unloaded code,
I do not think so. Even if we are working on Ring just for this scenario I doubt it worked by default.
Sure it works by default.
So you can have a model on code that is not in the image? I imagine that you can create RBClass RBMethod.... but this is not my point. How do you do that? which browser do you use?
Cheers, Lukas
-- Lukas Renggli www.lukas-renggli.ch
I do not think so. Even if we are working on Ring just for this scenario I doubt it worked by default.
Sure it works by default.
So you can have a model on code that is not in the image?
Most refactorings start from the existing system: model := RBNamespace onEnvironment: BrowserEnvironment new But you can also start from nothing: model := RBNamespace onEnvironment: BrowserEnvironment new not
I imagine that you can create RBClass RBMethod.... but this is not my point.
Why not? RBClass, RBMetaclass and RBMethod are central parts of the model. All reflection you do on these objects only affects what is defined inside this model.
How do you do that? which browser do you use?
If you have OB-Refactory loaded you can use: model open Lukas -- Lukas Renggli www.lukas-renggli.ch
participants (4)
-
Jan van de Sandt -
Lukas Renggli -
Mariano Martinez Peck -
Stéphane Ducasse