Files
MooTool/next-compose/docs/diff/273-runtime-editor-format-shortcut.md
RememBerBerandCursor c834db2a83 feat(next-compose): 对照 Electron 落地 F00–F25 与 A01–A03 主体能力
将 Vault/Git/MCP/AI、壳层主题密度、25 工具真实闭环与 desktopTest 638 项及 DIFF-065–471 文档/证据一并纳入仓库,便于持续对齐验收;产品窗 IME/冲突与三平台发行仍待验。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 06:51:45 +08:00

514 B
Raw Permalink Blame History

DIFF-273:代码运行编辑器 Cmd/Ctrl+Shift+F 格式化

对照 Electron

RuntimeTool 源码编辑器 onKeyDown:meta/ctrl + shift + f 调用 formatSource()。

行为

  • CodeRunScreen.formatSource():与工具栏「格式化」共用,运行中不执行。
  • EditorHost 绑定 EditorAppShortcuts(onFormat = …),走 RSTA ACTION_FORMAT(Cmd/Ctrl+Shift+F)。

验证

  • 既有 EditorBufferShortcutTest 覆盖 Shift+F 绑定
  • ./gradlew :composeApp:desktopTest --offline