Skip to content
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

Enable Auto Reload Scripts on External Change by default in the editor settings #97148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Sep 18, 2024

This follows the behavior of most code editors such as VS Code nowadays.

While this behavior can also be obtained when the setting is disabled (by choosing Discard local changes and reload), it's tedious to have to go through this dialog every time:

image

This is particularly the case when using external formatters.

When the setting is enabled, external changes can still be discarded by using the Undo function after they've been loaded.

Note that a file conflict dialog is still displayed in certain situations. For instance, it will display when the script editor has unsaved changes that the external editor did not account for.

…r settings

This follows the behavior of most code editors such as VS Code nowadays.

While this behavior can also be obtained when the setting is disabled
(by choosing Discard local changes and reload), it's tedious to have
to go through this dialog every time.

When the setting is enabled, external changes can still be discarded
by using the Undo function after they've been loaded.
@Mickeon
Copy link
Contributor

Mickeon commented Sep 18, 2024

So long as this explicitly affects scripts or text files in general, I am completely okay with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically enable Auto Reload Scripts on External Change when an external editor is configured
2 participants