python / python/cpython

IDLE: Support all python files - task issue

未关闭
#95,410 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@terryjreedy 已经在做这个了。

开始于 2022年7月29日。

topic-IDLE triaged type-feature
主要语言
Python
星标
77.2k
派生
36k
PR 合并指标
PR 指标待抓取

描述

Besides '.py', files with '.pyw' (Windows), '.pyi' (typing stub files), and no extension (especially *nix) may be Python files. Before #89610, IDLE was generallly restricted to '.py' and '.pyw' (mostly).

  • Support open, highlight, and save for .pyi stub files.
    #89610
  • Support browsing .pyw files and anything similar added in the future.
    #95411
  • Support browsing .pyi files. Would this be useful?
  • Support browsing no-extension files. Check current code.
  • Support 'Open Module' for non-.py files. (Extra issue here is different extensions with same name.)

Interaction with OS

  • Support double click of .pyi on macOS to edit in IDLE.
    #95393
  • Support double click of any Python file on Windows to edit in IDLE. Currently, one may run with python or edit with Notepad or 'open' with another apps either listed or found by browsing. (Likely difficult.)
  • Support right click on .pyi on Windows to Edit with IDLE. See Zoomba's response on #89610 (difficult).

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。