-
Notifications
You must be signed in to change notification settings - Fork 14
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
Should always create the file #18
Comments
@jeffschwartz if I create new file and save it(without any content) the file is saved properly. So what exactly would you want to change? |
Currently, if I use fancy new file to create a new file and then immediately switch focus to another file to copy its content to paste into the new file it won't work - because the new file had no content when it lost focus it wasn't created and the fancy new file plugin has to be initiated again to create it. IMO. This is contrary to expected behavior which I believe should be: after completing entering a file name in fancy new file the file should immediately be created and appear in the tree view as well. I hope you find this information useful and thank you for your contribution to the atom.io editor community. |
Always happy to help. I think I understand your approach I might take a look at it, but not any time soon. Maybe if more people would want this future too I might take a closer look at it. |
The behavior I'm suggesting is the same behavior that the Sublime AdvancedNewFile plugin supports. |
@jeffschwartz I will take a closer look at when I have time, I work on advanced new file mostly during weekends. Right now I want to first finish porting to new API, add one new functionality and then write tests, because old package didn't have one. Thank you for patience. |
Current behavior: doesn't actually create the new file unless the file has content.
Expected behavior: should always create the new file regardless of whether the file has content or not.
The text was updated successfully, but these errors were encountered: