[`//stack`] Stack Selection
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
Research direction
Start by reading the //stack command implementation and its flag parsing, then check the command's documentation and tests for the current -s behavior. Determine whether that behavior is intentional before choosing whether to change it or add a distinct flag. Done means the requested selection includes the original and every pasted instance, the behavior is covered by tests, and the flags are documented.
Written by the indexing model from the issue text.
Description
The Problem
According to the docs, there is currently no -s flag on the //stack command to also stack the selection.
There is actually an undocumented effect of -s to //stack, though not what I would expect. Currently specifying -s leads to a selection around the last pasted instance of the stack.
What I would expect is for the selection to include the original and all pasted instances.
Use case: Currently, stacking in two directions requires two commands and adjusting the selection inbetween. This feature would make the middle step obsolete.
//stack 3 east
[Adjust selection, could be replaced by -s]
//stack 3 north
A Solution
- If current
-sbehaviour is unintentional: Change the flag to the behaviour described above. - If current
-sbehaviour is intentional: Add a new flag that has the behaviour described above (e.g.-ss, if duplicate letters are no problem, although I suspect they are).
In both cases, the flags should be added to the documentation.
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
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EngineHub/WorldEdit
-
Make //drain command also remove bubble columnsPossibly taken A pull request linked to this issue is open or already merged. Openstatus:accepted type:feature-request
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
EngineHub/WorldEdit#3001 · 1 comment ·
Maintainers usually reply within 1 day
-
status:accepted type:feature-request
Difficulty 5/5 Over a week Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
Use 26.3 tag for dangerous teleportation targetsPossibly taken @me4502 claimed this 29 days ago. Openstatus:accepted type:feature-request
Difficulty 3/5 1-2 days Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
type:tech-debt
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
status:accepted type:feature-request
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
All issues in EngineHub/WorldEdit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
RegistryExceptionHandler uses self-referencing basePackageClasses instead of a controller classOpenbug finsim-registry good-first-issue
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
status:pending type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug level:trivial
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
exoego/keycloak-fuhito#666 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
hammy275/immersive-mc#669 ·