From 00ef6f11906f51e92d53f6645989fb1853f0681a Mon Sep 17 00:00:00 2001 From: Waldemar Kornewald Date: Mon, 16 Sep 2019 16:36:13 +0200 Subject: [PATCH] Outline: reveal at definition instead of center --- src/vs/workbench/contrib/outline/browser/outlinePanel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/outline/browser/outlinePanel.ts b/src/vs/workbench/contrib/outline/browser/outlinePanel.ts index 55ec4cb5e4b79..898cd59e462a3 100644 --- a/src/vs/workbench/contrib/outline/browser/outlinePanel.ts +++ b/src/vs/workbench/contrib/outline/browser/outlinePanel.ts @@ -614,7 +614,7 @@ export class OutlinePanel extends ViewletPanel { options: { preserveFocus: !focus, selection: Range.collapseToStart(element.symbol.selectionRange), - revealInCenterIfOutsideViewport: true + revealAtDefinition: true, } } as IResourceInput, aside ? SIDE_GROUP : ACTIVE_GROUP); }