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

Rename deletes Untitled #135

Open
anatomatic opened this issue Sep 1, 2015 · 2 comments
Open

Rename deletes Untitled #135

anatomatic opened this issue Sep 1, 2015 · 2 comments
Labels

Comments

@anatomatic
Copy link

Twice I've accidentally deleted an untitled tab by trying to save it via ANF: Rename (ANF: Copy works, though you end up with an extra tab). I think I've learned my lesson, but two possible enhancements that might remediate the over-eager, lazy-saver:

  • Override the system "Save" dialog and Make ANF the default. This functionality already exists in the plugin CreateSavePrompt (MIT License). Probably best if it's an advanced option exposed in Package Settings. The whole reason I shoot my foot is because ANF is better than the system dialog.
  • The more obvious option is to change the behavior of Rename to "Move" an untitled file to its new location via ANF.

Thanks for considering. I'll try to save before I type.

@skuroda
Copy link
Collaborator

skuroda commented Sep 1, 2015

Hi @anatomatic, my apologies, I thought I handled the new file case on the move also. Thanks for the report.

@sursir
Copy link

sursir commented Feb 19, 2019

I recurrent this case. and it is a untiltled file that includes multiple bytes chars.

the content is:

你好

or

😄

the both of rename and copy will lose the content in new named file.

Thanks.

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

No branches or pull requests

4 participants