S
stevengarcia
My class has an instance field with an underscore prefix, like
private String _message;
I want to reformat this class so it turns '_message' into 'message'.
In fact, I want to apply this logic to a whole directory/package of
java files. Is there a code reformatter that can do this?
I've looked into Jalopy (I don't think it can do this) and I also use
IDEA as IDE. I can invoke the "rename" function but only on a case by
case field. I simply want to remove all leading underscores on all
fields. Can Jalopy or IDEA do this? Can any other tool do this?
private String _message;
I want to reformat this class so it turns '_message' into 'message'.
In fact, I want to apply this logic to a whole directory/package of
java files. Is there a code reformatter that can do this?
I've looked into Jalopy (I don't think it can do this) and I also use
IDEA as IDE. I can invoke the "rename" function but only on a case by
case field. I simply want to remove all leading underscores on all
fields. Can Jalopy or IDEA do this? Can any other tool do this?