Skip to content

A set of tools that allows to do complex searches and code transformations using the refactoring engine in Pharo!

License

Notifications You must be signed in to change notification settings

jordanmontt/RewriteToolsSet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status Coverage Status License Pharo version

This is Rewrite Tools Set


This repo is no longer maintened. I have migrated the code to NewTools. The tools are now included in Pharo from Pharo 11 or greater. You can load them from here if you use a lowest Pharo version, Pharo 10 or lower.


RewriteToolsSet is a set of Pharo modular tools that can be used together or separately. This set of tools allow you to do complex code transformations, searches and refactors using the rewrite engine of Pharo! You can create custom code transformation rules and transform the code of a set of classes (or the whole image) with them.

These tools allow you to create, store, load, test, match and apply custom transformations rules and do complex code searches. As well, you can apply the custom transformation rules to a specific set of classes or to the entire Pharo image. You can refactor or replace deprecated methods (or any method) with this tool!

This set of tools includes Yuriy Tymchuk's MatchTool. I migrated it to the ner version of Spec.

Installation

In order to install this tool, perform the following code in a Playground:

Metacello new
    repository: 'github://jordanmontt/RewriteToolsSet/src';
    baseline: 'RewriteToolsSet';
    load

How to open it

When you have downloaded the tool using the above code, it will be added to the Tools menu. You just have to click it.

Capture d’écran 2022-11-06 à 13 56 20