Pharo has a built-in code formatter. I want that whenever I save a method, Pharo ignores all my formatting and auto-formats the code instead. Can that be done?
Sure, there is a setting if you use the Refactoring Engine and OmniBrowser: In the "Settings Browser" navigate to Refactoring Engine > Auto Format on Accept. There is also the setting Refactoring Engine > Auto Format on Display, which automatically formats the code before it is displayed. The formatting settings themselves are in Refactoring Engine > Configurable Formatter.