Login  Register

Re: Autoformatting extisting packages

Posted by Ben Coman on Feb 01, 2015; 1:51am
URL: https://forum.world.st/Autoformatting-extisting-packages-tp4802539p4802994.html



On Sun, Feb 1, 2015 at 6:08 AM, Laura Risani <[hidden email]> wrote:
@Ben 
>> would an equivalent be to be able to programmatically perform the <Format> menu item that is on the editor menu?
Thats a nice idea! I will try it.

@Paul
I wan't to reformat the methods. Not sure if you're implying that to format method's code is the responsibility of browsers, i haven't tought of it before, in that case i would agree with you.

I've found out there is a class  #RBPrettyPrintCodeRefactoring , i'll try to figure out if it would do the work


I was curious to have a quick look at that and the best way is having in run in context.  But in System Browser, right clicking on the class > Analyze > Class Refs... doesn't bring up anything.  General question for the list, how do the refactoring classes get tied into the system?

cheers -ben