Set selector based on region type in Clipboard

Open
#2,300 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
tooling

Research direction

Trace Clipboard paste handling for -s/-n and the existing //sel extend behavior, then identify the selector and region APIs involved. Done means the region data is retained during paste and a general API converts an existing selector using the region, with the affected behavior covered by tests.

Written by the indexing model from the issue text.

Description

status:accepted type:feature-request
The Problem

Currently the region data is lost when pasting from a Clipboard and using -s/-n. It would be better to keep it, and have a more general solution to handling //sel extend.

A Solution

Add and use a new API for converting an existing selector to a new selector based on a region.

Alternatives

No response

Anything Else?

No response

Dominant language
Java
Stars
3.5k
Forks
981
Avg merge
2d 15h
Merged PRs (30d)
11

Getting set up

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.

More from EngineHub/WorldEdit

All issues in EngineHub/WorldEdit

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.