import * as vscode from 'vscode' ; import { IActionContext } from 'vscode-azureextensionui' ; import { ext } from "../extensionVariables" ; export async function openDiffEditor ( _context , uri ) { const localPath = uri . fsPath . replace ( "-tempFile" , '' ) ; ext . outputChannel . show ( ) ; vscode . commands . executeCommand ( "vscode.diff" , vscode . Uri . file ( localPath ) , vscode . Uri . file ( uri . fsPath ) , 'Original -> Current' ) ; }