-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Explorer: auto create folder when file path ends with / #173901
Conversation
I believe #162893 contains this |
@lramos15 No, I checked that it doesn't contain requested behavior (its about multiple creation). To check: double click on empty space in explorer ( Also I'm not big of fan of redundant settings, so if you're happy enough to include it without setting, I'll remove it. Anyway please let me know what you think. thx! |
Let's remove the setting and make this a default behavior since |
Totally makes sense, I just first try with a setting when it comes to user experience improved as I expect higher review/accept rate in this case. Anyway, now this PR has just 3 LOC 😄 |
Just to check is there anything else required from my side for this to be merged? |
Nothing! Thanks for the contribution :) |
@@ -478,6 +478,11 @@ configurationRegistry.registerConfiguration({ | |||
description: nls.localize('explorer.incrementalNaming', "Controls what naming strategy to use when a giving a new name to a duplicated Explorer item on paste."), | |||
default: 'simple' | |||
}, | |||
'explorer.autoCreateNewFolder': { | |||
'type': 'boolean', | |||
description: nls.localize('explorer.autoCreateNewFolder', "Wether to create folder when new file name input value ends with slash (`/`)."), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whether typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Emm, okay I guess. The code was removed, how did you leave the review?
Fixes #173902