microsoft / microsoft/edit

Detect if bracketed pastes match the internal clipboard contents

Open
#471 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-task
Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

I found the following change in V1.2.0.

```
You can now duplicate lines by simply pressing Ctrl+C, Ctrl+V (https://github.com/microsoft/edit/pull/405)
```

Could you please paste the content above the current line, not at the current cursor position.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Rust code that handles bracketed pastes and the internal clipboard, then trace how pasted text is inserted relative to the cursor and current line. Done means a bracketed paste matching the internal clipboard inserts the content above the current line as requested, with behavior covered by the relevant existing tests if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.