You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title pretty much explains it. Right now the moment you hit enter on the "Enter a path for a new file" bar
the file is created and this is the only available behavior (to my knowledge at least).
The text was updated successfully, but these errors were encountered:
You're correct, that is the only behavior. Storing the directory and creating the file on save is an interesting point. Short of overriding the built in save function (which would simply be creating a new keymap for cmd/ctrl + s), I don't know how I'd do it. I think it would be doable though, from a technical perspective. Effectively, if the file already exists on disk, use the original save function. If it does not, check some saved "view" property to do the save.
Just for clarification, there is a pre-save event. Maybe not 6 years ago, but certainly now.
As for the actual feature itself, I'd probably make this configurable and also a global option, because I can see workflows where either behavior would be appreciated but in order not to mix it too much (for example by providing two commands), I'd rather make this an explicit choice for the user for all situations.
Title pretty much explains it. Right now the moment you hit enter on the "Enter a path for a new file" bar
the file is created and this is the only available behavior (to my knowledge at least).
The text was updated successfully, but these errors were encountered: