CodeEditApp / CodeEditApp/CodeEditCLI
✨ Flag to reuse the last active window
未关闭
enhancement
- 主要语言
- Swift
- 星标
- 81
- 派生
- 19
- PR 合并指标
- 30 天内没有已合并 PR
描述
## 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
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先定位 `codeedit` 入口点的 Swift 命令行参数处理,并跟踪打开 `Example.swift:43:10` 时如何选择窗口。添加对 `-r` 和 `--reuse-window` 的支持,同时保留当前新建窗口的默认行为,然后验证两个示例都会在最后一个活动窗口中打开该文件。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- swift
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100