Skip to content

Possible to add a "Refresh" or "Reload from Disk" option in toolbar? #5345

Open
@gitmeister

Description

@gitmeister

When editing outside of the IDE it would prevent having to close/re-open the Sketch since the IDE doesn't prompt to reload a file when it notices a change (like Notepad++ would).

Activity

mischnic

mischnic commented on Sep 6, 2016

@mischnic
Contributor

The setting "Use external editor" should reload the Sketch when the Arduino window regains focus.

gitmeister

gitmeister commented on Sep 6, 2016

@gitmeister
Author

I tried this but the IDE will proceed to "lock-out" edits done in the IDE. It may not be great practice to have both the IDE and an external editor accessing the same file but the dialog indicating that "An external program has changed this file do you want to reload" is supported by the various OS's. To avoid having to deal with file-change-events a "refresh" (like you see in File Explorers) could just reload. There are many work-arounds for now, I keep a dummy project open so that when I close the externally edited project I can just use the dummy project to "open recent". Closing/Restarting the IDE is considerably slower.

per1234

per1234 commented on Mar 10, 2017

@per1234
Collaborator

Just a note that there is another issue for the sketch modified notification in the IDE feature request, which is related but not a duplicate of this issue:
#4551

added a commit that references this issue on Mar 14, 2017
added a commit that references this issue on Jul 4, 2017
added a commit that references this issue on Oct 23, 2017
added a commit that references this issue on Oct 30, 2017
added a commit that references this issue on Jan 11, 2018
added a commit that references this issue on Jan 22, 2018

44 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: IDEThe Arduino IDEfeature requestA request to make an enhancement (not a bug fix)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @gitmeister@mischnic@per1234

        Issue actions

          Possible to add a "Refresh" or "Reload from Disk" option in toolbar? · Issue #5345 · arduino/Arduino