Closed jeffschwartz closed 8 years ago
Thanks for the suggestion! I've considered this in the past, and I decided not to include it because:
But faced with the idea again, those seem like bad reasons vs the fact that it'd be fairly easy to include and could be useful, and is a reasonable thing to have since we already can make directories that don't exist while creating new files. Hmmmmmmmm.
I recall that the sublime plugin did support this. As for usefulness, well that is, of course, subjective but a common scenario for me and for others is creating the project folder in the terminal, then starting atom from the command line and then adding the folders needed for the project. Another scenario is creating folders for files that don't yet exist, such as those that will be created by task runners like Grunt & Gulp, for example, or by other similar automation tools. The feature could be made a configurable one by adding a config option for it and defaulting it to false so as not to break current users' perceived expectation of the plugin's behavior but that is, of course, totally up to you.
Btw, thanks for considering it.
This should be fixed on master and will ship with the next release. I took your advice and made it a setting that defaults to false to avoid surprising users who are used to the default behavior.
Thanks again for the suggestion!
@Osmose thank you so much for this and for your contribution to Atom and the community. Awesome!
Entering /somepath/projectdirectory/newdirectory/ isn't currently supported but would be very nice to have.