From 53d684f0bbcef1ebb907d4ed00d724b2eb46aba7 Mon Sep 17 00:00:00 2001 From: Babak Farkhoopak <44144724+babakfp@users.noreply.github.com> Date: Fri, 13 Dec 2024 22:08:12 +0330 Subject: [PATCH] Update src/vs/workbench/contrib/files/browser/files.contribution.ts Co-authored-by: Alex Ross --- .../contrib/files/browser/files.contribution.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/vs/workbench/contrib/files/browser/files.contribution.ts b/src/vs/workbench/contrib/files/browser/files.contribution.ts index 68ff2aae45d04..deb337f0bd333 100644 --- a/src/vs/workbench/contrib/files/browser/files.contribution.ts +++ b/src/vs/workbench/contrib/files/browser/files.contribution.ts @@ -362,10 +362,14 @@ configurationRegistry.registerConfiguration({ 'description': nls.localize('fileDialogDefaultPath', "Default path for file dialogs, overriding user's home path. Only used in the absence of a context-specific path, such as most recently opened file or folder."), 'scope': ConfigurationScope.MACHINE }, - 'files.dialog.currentDirectory': { - 'type': 'boolean', - 'description': nls.localize('files.dialog.currentDirectory', "Opens the file dialog in the current directory rather than the parent directory. Overrides the default behavior where the parent directory would typically be opened."), - 'default': false + 'files.dialog.openFolderStartLocation': { + 'type': 'string', + 'enum': [ + 'parent', + 'current' + ], + 'description': nls.localize('files.dialog.openFolderStartLocation', "Determines whether the file dialog should open in the parent or current folder of the active file."), + 'default': 'parent' }, 'files.simpleDialog.enable': { 'type': 'boolean',