This commit is contained in:
Joao Moreno
2017-05-24 15:54:47 +02:00
committed by Dirk Baeumer
parent fff0136ca6
commit a0a1b9e0d6
3 changed files with 40 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ export class CommandCenter {
return await commands.executeCommand<void>('vscode.open', right);
}
return await commands.executeCommand<void>('vscode.diff', left, right, title);
return await commands.executeCommand<void>('vscode.diff', left, right, title, { preview: true });
}
private getLeftResource(resource: Resource): Uri | undefined {