Add built-in preset options for status line configuration
What would you like to be added?
Add a built-in interactive status line configuration flow that lets users choose from common status line items with a multi-select UI.
For example, users could run /statusline and select items such as:
- Theme colors
- Current model
- Model with reasoning level
- Current working directory
- Project name
- Git branch
- Pull request number
- Context usage / token usage
The flow should show a live preview of the resulting status line while users toggle options, then write the generated configuration after confirmation.
This should complement, not replace, the current dynamic setup path. Users who want a custom shell-command based status line should still be able to use the existing agent-assisted setup and manual ui.statusLine configuration.
Why is this needed?
The current status line feature is powerful, but setup requires either:
- asking the
/statusline setup agent to generate a command, or
- manually writing a shell command in
settings.json.
That flexibility is useful for advanced customization, but it can make the first-time experience feel heavier than necessary for common cases.
Codex provides a simpler reference point: its status line setup presents common display items as built-in options that users can toggle directly. This makes the configuration path clearer and more discoverable, especially for users who only want standard information such as project name, branch, model, or PR number.
Adding preset options would improve the default UX while preserving the escape hatch for advanced users.
Additional context
Current Qwen Code behavior:
/statusline launches a setup agent.
ui.statusLine currently supports a shell command config: { "type": "command", "command": "..." }.
- The command receives structured JSON context via stdin and can render arbitrary output.
Suggested product direction:
- Keep the existing dynamic command-based configuration.
- Add a simpler preset-based configuration path for common status line items.
- Consider exposing it through the same
/statusline command, with choices such as:
- "Use built-in presets"
- "Generate a custom status line with the setup agent"
- "Edit manually"
- The preset flow should be interactive, searchable, and show selected/unselected states plus a preview, similar to the attached Codex example.
中文
为 status line 配置增加内置预设选项
希望增加什么?
希望增加一个内置的交互式 status line 配置流程,让用户可以通过多选 UI 直接选择常见的 status line 展示项。
例如用户运行 /statusline 后,可以选择:
- 主题颜色
- 当前模型
- 带 reasoning level 的模型信息
- 当前工作目录
- 项目名
- Git 分支
- Pull Request 编号
- Context 使用量 / Token 使用量
用户切换选项时,界面可以展示实时预览;确认后写入生成好的配置。
这个能力应该作为现有动态配置方式的补充,而不是替代。需要高度自定义的用户,仍然可以继续使用现有的 agent-assisted setup 或手动配置 ui.statusLine。
为什么需要?
当前 status line 功能很强,但配置方式主要依赖:
- 让
/statusline setup agent 生成命令;或
- 在
settings.json 中手写 shell command。
这种方式对高级自定义很有价值,但对首次使用和常见场景来说,入口显得偏重。
Codex 的 status line 配置提供了一个更简洁的参考:把常见展示项做成内置 options,用户通过多选即可完成配置。这种方式更清晰、更可发现,尤其适合只想展示项目名、分支、模型、PR 编号等标准信息的用户。
增加预设选项可以改善默认 UX,同时保留高级用户需要的 escape hatch。
额外上下文
当前 Qwen Code 行为:
/statusline 会启动 setup agent。
ui.statusLine 当前支持 shell command 配置:{ "type": "command", "command": "..." }。
- command 通过 stdin 接收结构化 JSON,上层可以渲染任意输出。
建议的产品方向:
- 保留现有动态 command-based 配置。
- 增加一个更简单的 preset-based 配置路径,用于常见展示项。
- 可以考虑仍然通过
/statusline 暴露,例如提供:
- “Use built-in presets”
- “Generate a custom status line with the setup agent”
- “Edit manually”
- 预设配置流程应支持交互式搜索、多选状态展示和实时预览,类似附件中的 Codex 示例。
Add built-in preset options for status line configuration
What would you like to be added?
Add a built-in interactive status line configuration flow that lets users choose from common status line items with a multi-select UI.
For example, users could run
/statuslineand select items such as:The flow should show a live preview of the resulting status line while users toggle options, then write the generated configuration after confirmation.
This should complement, not replace, the current dynamic setup path. Users who want a custom shell-command based status line should still be able to use the existing agent-assisted setup and manual
ui.statusLineconfiguration.Why is this needed?
The current status line feature is powerful, but setup requires either:
/statuslinesetup agent to generate a command, orsettings.json.That flexibility is useful for advanced customization, but it can make the first-time experience feel heavier than necessary for common cases.
Codex provides a simpler reference point: its status line setup presents common display items as built-in options that users can toggle directly. This makes the configuration path clearer and more discoverable, especially for users who only want standard information such as project name, branch, model, or PR number.
Adding preset options would improve the default UX while preserving the escape hatch for advanced users.
Additional context
Current Qwen Code behavior:
/statuslinelaunches a setup agent.ui.statusLinecurrently supports a shell command config:{ "type": "command", "command": "..." }.Suggested product direction:
/statuslinecommand, with choices such as:中文
为 status line 配置增加内置预设选项
希望增加什么?
希望增加一个内置的交互式 status line 配置流程,让用户可以通过多选 UI 直接选择常见的 status line 展示项。
例如用户运行
/statusline后,可以选择:用户切换选项时,界面可以展示实时预览;确认后写入生成好的配置。
这个能力应该作为现有动态配置方式的补充,而不是替代。需要高度自定义的用户,仍然可以继续使用现有的 agent-assisted setup 或手动配置
ui.statusLine。为什么需要?
当前 status line 功能很强,但配置方式主要依赖:
/statuslinesetup agent 生成命令;或settings.json中手写 shell command。这种方式对高级自定义很有价值,但对首次使用和常见场景来说,入口显得偏重。
Codex 的 status line 配置提供了一个更简洁的参考:把常见展示项做成内置 options,用户通过多选即可完成配置。这种方式更清晰、更可发现,尤其适合只想展示项目名、分支、模型、PR 编号等标准信息的用户。
增加预设选项可以改善默认 UX,同时保留高级用户需要的 escape hatch。
额外上下文
当前 Qwen Code 行为:
/statusline会启动 setup agent。ui.statusLine当前支持 shell command 配置:{ "type": "command", "command": "..." }。建议的产品方向:
/statusline暴露,例如提供: