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

Should always create the file #18

Open
jeffschwartz opened this issue Dec 24, 2014 · 5 comments
Open

Should always create the file #18

jeffschwartz opened this issue Dec 24, 2014 · 5 comments

Comments

@jeffschwartz
Copy link

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.

@Trudko
Copy link

Trudko commented Jan 18, 2015

@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?

@jeffschwartz
Copy link
Author

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.

@Trudko
Copy link

Trudko commented Jan 19, 2015

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.

@jeffschwartz
Copy link
Author

The behavior I'm suggesting is the same behavior that the Sublime AdvancedNewFile plugin supports.

@Trudko
Copy link

Trudko commented Jan 27, 2015

@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.

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

2 participants