Skip to content

Commit 7ef215a

Browse files
authored
Merge pull request microsoft#95193 from usernamehw/revealInOs
Reveal file in OS should work for special files like settings.json wi…
2 parents 1b9a442 + bedc8a2 commit 7ef215a

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)