microsoft / microsoft/terminal

Paste with promptable sections (powered by AI)

Open
#15,104 5 comments 1 reaction 0 assignees View on GitHub
Area-Chat Area-Extensibility Issue-Feature Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

# 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.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. First clarify the placeholder syntax, how copied text is detected, and the Tab-based editing behavior; done should include an agreed interaction design and acceptance criteria for replacing each placeholder in Windows Terminal.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.