Skip to content

[Feature Request] Support VS Code PowerShell multiline paste behavior (pastePwsh / bracketed paste) #330

Description

@sillasHead

Description

VS Code correctly handles multiline paste in PowerShell terminals using the internal command:

workbench.action.terminal.pastePwsh

Windsurf does not currently provide an equivalent command/handler for PowerShell multiline paste.

Without this behavior, pasting multiple lines with Ctrl+V in an integrated PS terminal executes each line immediately instead.


Feature Request

Please implement support for a PS-specific multiline paste handler equivalent to VS Code's:

workbench.action.terminal.pastePwsh


Expected Behavior

When pasting multiple lines into Windsurf integrated PS terminal:

> Write-Output "Test1"
>> Write-Output "Test2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions