pharo
pharo copied to clipboard
Refactors should not reformat the code
Currently, several refactors reformat the code when applying a refactor. They should not do it.
One of the reasons of this is that RB
engine is obtaining the code using the method formattedCode
instead of sourceCode
. (see formattedCode
senders). Also some refactors do this (RBMoveMethodToClassSideTransformation>>#getNewSource
RBMoveMethodToClassSideRefactoring>>#getNewSource
...)