python / python/cpython

IDLE: Support all python files - task issue

Aberta
#95,410 2 comentários 0 reações 1 responsável Ver no GitHub

@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

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.