Skip to content

Paste with promptable sections (powered by AI) #15104

@jaigak

Description

@jaigak

Description of the new feature/enhancement

Often times, you copy commands from a website that has placeholders in it, which you are supposed to replace. Currently, on almost all terminals, you either copy the entire thing, move the cursor to where the placeholder is there and overwrite it. Or if you are like me, you copy it into Notepad, replace the placeholder with your parameter and then paste it into the terminal. Both are not very convenient.

Proposed technical implementation details (optional)

Not exactly sure how the syntax should look to distinguish placeholders from actual text, but Windows Terminal could decide one. When a string with placeholders is copied, Windows Terminal should allow you to press Tab and to simply overwrite each placeholder with a parameter you want. The way Visual Studio does small code snippets could be an inspiration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-ChatAll things LLM or "AI"Area-ExtensibilityA feature that would ideally be fulfilled by us having an extension model.Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions