提交 bedc8a2f 编写于 作者: A al

Reveal file in OS should work for special files like settings.json with vscode-userdata schema.

上级 96b8ab43
......@@ -16,7 +16,7 @@ import { IElectronService } from 'vs/platform/electron/node/electron';
export function revealResourcesInOS(resources: URI[], electronService: IElectronService, notificationService: INotificationService, workspaceContextService: IWorkspaceContextService): void {
if (resources.length) {
sequence(resources.map(r => async () => {
if (r.scheme === Schemas.file) {
if (r.scheme === Schemas.file || r.scheme === Schemas.userData) {
electronService.showItemInFolder(r.fsPath);
}
}));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册