Skip to content

Commit bedc8a2

Browse files
committed
Reveal file in OS should work for special files like settings.json with vscode-userdata schema.
1 parent 96b8ab4 commit bedc8a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/files/electron-browser/fileCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { IElectronService } from 'vs/platform/electron/node/electron';
1616
export function revealResourcesInOS(resources: URI[], electronService: IElectronService, notificationService: INotificationService, workspaceContextService: IWorkspaceContextService): void {
1717
if (resources.length) {
1818
sequence(resources.map(r => async () => {
19-
if (r.scheme === Schemas.file) {
19+
if (r.scheme === Schemas.file || r.scheme === Schemas.userData) {
2020
electronService.showItemInFolder(r.fsPath);
2121
}
2222
}));

0 commit comments

Comments
 (0)