Being able to run Code Critics on not loaded code would be a very nice thing, unfortunately it is not supported right now. We wanted to do the same in SqueakSource when we originally wrote the software, but we had to realize that a lot of the rules unnecessarily depend on the fact that the code is installed.
It is still one of the todo items for the refactoring engine to make Code Critics completely runnable on the refactoring code model. As the Pharo code model is diverging more and more from the refactoring code model this is more likely to happen anytime soon. Lukas On 4 April 2011 11:41, AxiNat <[email protected]> wrote: > Hi list, > I have a pretty special need, which is to be able to run code critics on > projects that have not yet been loaded into the image. For example, I need > to browse an st file -or a squeaksource project- and before loading it I > want to run critics on it, would this be possible somehow? > If it looks like something noone would need to do, I understand. It's just > that the project I'm working on is pretty particular... I've been exploring > other possibilities but I'm afraid this is one of the few left for me to > think of :( > Thanks a lot in advance! > Bernat Romagosa. -- Lukas Renggli www.lukas-renggli.ch
