IDLE: Support all python files - task issue
Offen
@terryjreedy arbeitet bereits daran.
Seit 29.7.2022.
topic-IDLE
triaged
type-feature
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 36k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
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).
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.