-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to add a "Refresh" or "Reload from Disk" option in toolbar? #5345
Comments
The setting "Use external editor" should reload the Sketch when the Arduino window regains focus. |
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. |
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: |
Reloads sketch content if the Editor is not in foreground and isomething happens in the backing storage files. Note that no confirmation dialog is displayed (same behaviour as SublimeText, differs from other IDEs) Fixes arduino#4551 and arduino#5345
Reloads sketch content if the Editor is not in foreground and isomething happens in the backing storage files. Note that no confirmation dialog is displayed (same behaviour as SublimeText, differs from other IDEs) Fixes arduino#4551 and arduino#5345
Reloads sketch content if the Editor is not in foreground and isomething happens in the backing storage files. Note that no confirmation dialog is displayed (same behaviour as SublimeText, differs from other IDEs) Fixes arduino#4551 and arduino#5345
Reloads sketch content if the Editor is not in foreground and isomething happens in the backing storage files. Note that no confirmation dialog is displayed (same behaviour as SublimeText, differs from other IDEs) Fixes arduino#4551 and arduino#5345
Reloads sketch content if the Editor is not in foreground and isomething happens in the backing storage files. Note that no confirmation dialog is displayed (same behaviour as SublimeText, differs from other IDEs) Fixes arduino#4551 and arduino#5345
Reloads sketch content if the Editor is not in foreground and isomething happens in the backing storage files. Note that no confirmation dialog is displayed (same behaviour as SublimeText, differs from other IDEs) Fixes arduino#4551 and arduino#5345
Reloads sketch content if the Editor is not in foreground and isomething happens in the backing storage files. Note that no confirmation dialog is displayed (same behaviour as SublimeText, differs from other IDEs) Fixes arduino#4551 and arduino#5345
Adds UI logic to allow reverting of tab content by pressing Ctrl-Shift-R or by clicking the 'Revert' SimpleAction menu item on the EditorHeader menu that opens from the upside-down triangle that's on the right edge of the tabs bar of the IDE. Similar to arduino#5345 but option is added to the tabs bar menu and for better clarity is called 'Revert' not 'Refresh'.
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).
The text was updated successfully, but these errors were encountered: