IDLE: Support all python files - task issue
Aberta
@terryjreedy já está trabalhando nisso.
Desde 29/7/2022.
topic-IDLE
triaged
type-feature
- Linguagem predominante
- Python
- Estrelas
- 77.2k
- Forks
- 36k
- Métricas de merge de PRs
- Métricas de PR pendentes
Descrição
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).
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Avaliação
Esta issue ainda não foi avaliada.