Search code examples
visual-studio-codevscode-extensionsvscode-debuggervscode-tasksvscode-snippets

VSCode: execute command when focus on terminal view?


I've set "ctrl + end" to execute this multicommand sequence, enter image description here

enter image description here

When I focus on the terminal view, executing the command will output some characters in the terminal,not execute the actual command, how can I execute the command even in I'm focus on terminal view?

enter image description here


Solution

  • Use terminal.integrated.commandsToSkipShell setting:

        "terminal.integrated.commandsToSkipShell": [
            "extension.multiCommand.execute",
        ]