mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-24 16:35:55 +01:00
@@ -58,7 +58,10 @@ export class FileDialogService extends AbstractFileDialogService implements IFil
|
||||
private shouldUseSimplified(schema: string): { useSimplified: boolean, isSetting: boolean } {
|
||||
const setting = (this.configurationService.getValue('files.simpleDialog.enable') === true);
|
||||
const newWindowSetting = (this.configurationService.getValue('window.openFilesInNewWindow') === 'on');
|
||||
return { useSimplified: (schema !== Schemas.file) || setting, isSetting: newWindowSetting };
|
||||
return {
|
||||
useSimplified: ((schema !== Schemas.file) && (schema !== Schemas.userData)) || setting,
|
||||
isSetting: newWindowSetting
|
||||
};
|
||||
}
|
||||
|
||||
async pickFileFolderAndOpen(options: IPickAndOpenOptions): Promise<any> {
|
||||
|
||||
Reference in New Issue
Block a user