Open kepo4ka opened 6 years ago
"macros": { "formatAndSave": [ "editor.action.formatDocument", "workbench.action.files.save" ] }
{ "key": "ctrl+s", "command": "macros.formatAndSave" }
These commands (Format and Save) do not work at the same time. I need that.
When I press the first time,then the first command (Format)is triggered Only. Secontd time - second command (Save) is triggered.
"macros": { "formatAndSave": [ "editor.action.formatDocument", "workbench.action.files.save" ] }
{ "key": "ctrl+s", "command": "macros.formatAndSave" }
These commands (Format and Save) do not work at the same time. I need that.
When I press the first time,then the first command (Format)is triggered Only. Secontd time - second command (Save) is triggered.