IDLE: Support all python files - task issue

Aperta
#95,410 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@terryjreedy ci sta già lavorando.

Dal 29/7/2022.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

topic-IDLE triaged type-feature

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).
Lingua principale
Python
Stelle
77.2k
Fork
36k
Merge medio
1g 9h
PR unite (30g)
558

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python/cpython

Tutte le issue di python/cpython

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.