✨ Flag to reuse the last active window
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by locating the Swift command-line argument handling for the codeedit entry point and trace how opening Example.swift:43:10 selects a window. Add support for -r and --reuse-window, preserving the current new-window default, then verify both examples open the file in the last active window.
Written by the indexing model from the issue text.
Description
Proposed Addition
| Argument | Description |
|---|---|
-r or --reuse-window |
Use the last active window. |
Description
When opening a file, tell CodeEdit to open the file in the last active window instead of opening the file in a new window (default behavior).
Examples
codeedit Example.swift:43:10 --reuse-window
codeedit Example.swift:43:10 -r
- Dominant language
- Swift
- Stars
- 81
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 CodeEditApp/CodeEditCLI
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
CodeEditApp/CodeEditCLI#34 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
CodeEditApp/CodeEditCLI#28 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
CodeEditApp/CodeEditCLI#27 · 2 comments ·
-
Run codeedit as root Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
CodeEditApp/CodeEditCLI#26 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 15/100
CodeEditApp/CodeEditCLI#10 ·
All issues in CodeEditApp/CodeEditCLI
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleapis/google-cloud-swift#1151 ·
-
`--app` focus through the daemon can pick an off-screen window and refuse with `axElementNotFound` Openclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P1
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
code health
Difficulty 1/5 Under an hour Newbie friendliness 72/100
apple/coreai-models#288 ·
-
task
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vsanthanam/JBird#429 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100