Skip to content

IDLE: Detect file if modified at local disk and prompt to ask refresh #94523

Description

@znsoooo

Feature or enhancement

Because IDLE not good at text editing, I sometimes use another text editor to make text editing such as text replacement and refactoring while opening IDLE parallelly.

But when I go back to IDLE, the editor doesn't give any hints, and then on the next run, my text changes are overwritten.

So I add a feature that IDLE can detect whether the local file has changed and make a prompt, ask to refresh. or set file into unsaved state if not refreshed.

Previous discussion

Discuss at: https://discuss.python.org/t/i-made-some-improvement-for-idle-can-i-contribute-to-idlelib-library-in-python-project

Usage: https://github.com/znsoooo/IDLE-Advance

Implementation: https://github.com/znsoooo/IDLE-Advance/blob/master/idlealib/AutoReload.py

Linked PRs

Activity

  1. CoolCat467 commented on Aug 16, 2024

    @CoolCat467
    Contributor

    To be honest this is halfway advertising, but I made an extension that allows you to reload a currently open file in IDLE, but does not currently support automatic reloading as of writing: https://pypi.org/project/idlereload/

  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Mar 7, 2026
  3. added a commit that references this issue on Apr 11, 2026
  4. gpshead commented on Apr 11, 2026

    @gpshead
    Member

    pr merged, thanks!

  5. CoolCat467 commented on Apr 12, 2026

    @CoolCat467
    Contributor

    Would this being merged count as completing #44968?

  6. added a commit that references this issue on Apr 25, 2026
  7. added 2 commits that reference this issue on Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytopic-IDLEtype-featureA feature request or enhancement

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions