Skip to content

Wait until previous command is "done" before executing next command in sequence? #23

@macintacos

Description

@macintacos

It'd be really nice if there was an option for multi-command to "wait" until whatever palette the previous command brought up is "dismissed" before moving on with the next command in the sequence (unless the previous command was "escaped", like if they hit the "ESC" key or clicked out of the prompt).

As an example, take the following command:

    {
      "command": "multiCommand.test",
      "sequence": [
        "workbench.action.quickOpen",
        "workbench.action.moveEditorToBelowGroup"
      ]
    },

I set this up because I want to search for a file, and then after I hit "enter" I'd like that file to be moved to the editor in the below group. However right now that's not how it works; the quick open panel opens, but then it immediately executes workbench.action.moveEditorToBelowGroup without waiting for me to actually search for a file.

It'd be nice if multi-command "knew" that it needed to wait for the quick open panel to be closed before moving on to the next command in the sequence. There isn't a way that I'm glossing over, is there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions