[Idle] Indent width bug after adding custom keyset
未關閉
還沒有人認領這個 Issue。
pending
topic-IDLE
type-bug
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
Bug report
Bug description:
Indent width bug in idle after changing "dedent-region" to "Shift+Tab"
Only tested on Windows with
Python 3.12.6 with tcl/tk 8.6.13
Deleted .idlerc and replicated bug again to confirm.
Steps to replicate:
- Delete .idlerc
- Launch Idle IDE
- Custom keyset > change "dedent-region" to "Shift+Tab"
- Close & relaunch Idle IDE
Tab indent defaults to 8 spaces ( remains 4 in GUI)
Have to reconfigure with Alt+U every time you launch Idle.
Annoying enough to be a bug even if it is intended behavior.
CPython versions tested on:
3.12
Operating systems tested on:
Windows
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,在 Windows 上使用 Python 3.12 和 Tcl/Tk 8.6.13,按照自訂 keyset 和重新啟動步驟,在 IDLE 中重現該問題。追蹤 "dedent-region" binding 和縮排寬度是如何持久化的;完成的標準是,重新啟動 IDLE 後,設定的四個空格寬度仍然有效。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- desktop
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 活躍
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100