src/vs/workbench/services/dialogs/browser/abstractFileDialogService.ts/AbstractFileDialogService/addFileToRecentlyOpened
class AbstractFileDialogService:	protected addFileToRecentlyOpened(uri: URI): void {

		// add the picked file into the list of recently opened
		// only if it is outside the currently opened workspace

		if (!this.contextService.isInsideWorkspace(uri)) {
			this.workspacesService.addRecentlyOpened([{ fileUri: uri, label: this.labelService.getUriLabel(uri) }]);
		}
	}