Skip to content

RunCommandOnSave with 2 commands needs save 2 times #3

@marbel82

Description

@marbel82

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions