I have the following 2 commands:
[PreSave]
Commands=Edit.FormatDocument|EditorContextMenus.CodeWindow.RemoveAndSort
The problem is that the file gets saved after FormatDocument, and then RemoveAndSort is executed.
As a result, I need to press save a second time.