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-save editor on close by default #29925

Open
nyurik opened this issue May 7, 2024 · 3 comments
Open

Enable Auto-save editor on close by default #29925

nyurik opened this issue May 7, 2024 · 3 comments
Labels
feature request xf:sql editor SQL Editor and Editor Services like autocompletion, highlighting, folding, formatting, etc. xp:normal
Milestone

Comments

@nyurik
Copy link

nyurik commented May 7, 2024

Is your feature request related to a problem? Please describe.
Recently there has been a lot of crashes on Linux Mint, e.g. #25134, which causes loss of scripts. Please automatically save all script files before running any query or after some time after last save to prevent data loss.

Describe the solution you'd like
Save all script files.

Describe alternatives you've considered
I manually save my files as often as possible... brings back memories of old DOS days...

Additional context
See #25134

@LonwoLonwo
Copy link
Member

Hello @nyurik

One of these settings may be helpful for you.

2024-05-07 08_36_42-Grammarly Anchor Window

@nyurik
Copy link
Author

nyurik commented May 7, 2024

@LonwoLonwo thanks!!! i wasn't aware of this. Do you think it might make sense to enable them by default? Other common editors (like IntelliJ's) do that out of the box...

@E1izabeth E1izabeth added the xf:sql editor SQL Editor and Editor Services like autocompletion, highlighting, folding, formatting, etc. label May 7, 2024
@nyurik nyurik changed the title Save all before running any query Enable "Save SQL editors" by default May 7, 2024
@LonwoLonwo
Copy link
Member

Related ticket with implementation: #9608

@arhayka arhayka changed the title Enable "Save SQL editors" by default Enable Auto-save editor on close by default May 15, 2024
@arhayka arhayka added this to the 24.1.1 milestone May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request xf:sql editor SQL Editor and Editor Services like autocompletion, highlighting, folding, formatting, etc. xp:normal
Projects
None yet
Development

No branches or pull requests

5 participants