pharo icon indicating copy to clipboard operation
pharo copied to clipboard

Refactors should not reformat the code

Open jordanmontt opened this issue 2 years ago • 0 comments

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...)

jordanmontt avatar Jun 08 '22 13:06 jordanmontt