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

When saving a file and it exists, rename the old rather than the new #19

Open
drorm opened this issue Apr 27, 2023 · 0 comments
Open

When saving a file and it exists, rename the old rather than the new #19

drorm opened this issue Apr 27, 2023 · 0 comments
Milestone

Comments

@drorm
Copy link
Owner

drorm commented Apr 27, 2023

When you save to a file, say "foo.ts", gish will check if it exists and append a number: foo-1.ts, foo-2.ts, etc. the first one that's available.
Instead, always save the file as the original name and just rename the existing file to the first available slot same as before.

@drorm drorm added this to the 0.5 milestone Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant