ryuta46 / vscode-multi-command

Visual Studio Code Plugin named multi-command
MIT License
229 stars 14 forks source link

How to type in search editor #46

Open twk7890 opened 3 years ago

twk7890 commented 3 years ago

i try to type inthe search editor, but fail

{ "command": "multiCommand.test", "sequence": [ "actions.find", {"command":"type","args":{"text":" \d"}, }, ], },

}

or even i sepreate the input with inSearchEditor { "command": "step1", "description":"cut into line with number", "sequence": [ {"command":"type","args":{"text":" \d"}, }, ], "when":"inSearchEditor" },

cannot find a way to do it.

ryuta46 commented 3 years ago

@twk7890 Did you verify that type command works in search editor without multi-command extension?

keybindings.json

   {
        "key": "ctrl+t",
        "command": "type",
        "args": { 
            "text": "aaaaa"
        }
    },

If type command does not work in search editor, this extension has no way to do it.