GemTalk / Jadeite

IDE for GemStone Smalltalk application development using Rowan code management
MIT License
6 stars 2 forks source link

Add Rewrite tool to Jadeite #675

Open ericwinger opened 4 years ago

ericwinger commented 4 years ago

Copied from Jade issue: https://github.com/jgfoster/Jade/issues/243

The original tool description can be found at: https://refactory.com/rewrite-tool/

This can be implemented with GS classes RBParseTreeSearcher and RBParseTreeRewriter.

1) Add the GUI components of the Rewrite tool to Jade System Browser 2) Implement the rewrite tool using RBParseTreeSearcher and RBParseTreeRewriter

2.1) Implement expressions match
2.2) Implement method match
2.3) Add Transformations scope options (this method, this class, this hierarchy, this package, entire system??)

3) Check what GS versions includes RBParseTreeSearcher and RBParseTreeRewriter classes

brunobuzzi commented 4 years ago

@ericwinger check: (still more work needed to finalize the Rewrite tool for Jade) https://user-images.githubusercontent.com/4719282/73143716-4f5f7600-407c-11ea-9cbb-05e71949a401.png

Or check (https://github.com/jgfoster/Jade/issues/243) for more details