extract FormatDocuments method
simplify GetNonSavedDocuments
remove unused local variable
move method
extract class DocumentFormatter
FormatNonSavedDocuments on DocumentFormatter
remove unused field
handle more commands
add new FormatDocumentOnBeforeSave
rename class FormatDocumentOnSave to FormatDocumentOnBeforeSaveCommand
switch to implementation FormatDocumentOnBeforeSave
remove unused class