From 2e2e7d06ecd066e0de7c2f691a1c8a75fce29a94 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 23 Dec 2022 00:20:10 -0500 Subject: [PATCH] Opens file/diff to side if graph/rebase is active --- src/webviews/commitDetails/commitDetailsWebviewView.ts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/webviews/commitDetails/commitDetailsWebviewView.ts b/src/webviews/commitDetails/commitDetailsWebviewView.ts index 71ab970..c52514f 100644 --- a/src/webviews/commitDetails/commitDetailsWebviewView.ts +++ b/src/webviews/commitDetails/commitDetailsWebviewView.ts @@ -1,10 +1,11 @@ import type { CancellationToken, ConfigurationChangeEvent, + TextDocumentShowOptions, TreeViewSelectionChangeEvent, TreeViewVisibilityChangeEvent, } from 'vscode'; -import { CancellationTokenSource, Disposable, Uri, window } from 'vscode'; +import { CancellationTokenSource, Disposable, Uri, ViewColumn, window } from 'vscode'; import { serializeAutolink } from '../../annotations/autolinks'; import type { CopyShaToClipboardCommandArgs } from '../../commands'; import { executeGitCommand, GitActions } from '../../commands/gitCommands.actions'; @@ -848,7 +849,7 @@ export class CommitDetailsWebviewView extends WebviewViewBase {