Login  Register

Rewrite Tool set in Spec2 changes

Posted by Sebastian Jordan on Sep 09, 2020; 5:28pm
URL: https://forum.world.st/Rewrite-Tool-set-in-Spec2-changes-tp5121546.html

Hi to all,

Thanks to the received feedback, I made some changes on RewriteTool-Spec2.
  • First, when loading a rule a more detailed description of the rules is displayed on the RewriteRulesLoaderPresenter.
  • Also, I added several examples of Rewrite Rules. These rules are examples of common refactors that are made in Pharo.
  • Finally, when you open Match Tool from the Basic Rewrite Editor, the searchFor part of the rule is set to MatchTool pattern code.
Screenshot of the new way to load a rule: https://imgur.com/gallery/Rp6Jfw2
The repo of the tool: https://github.com/jordanmontt/RewriteTool-Spec2

Thanks!
Sebastian