From c562bd257d1e6034df2dee83e1b24b538e8ab34a Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Wed, 30 May 2018 14:48:22 +0200 Subject: [PATCH] fix #50207 --- src/vs/workbench/api/node/extHostLanguageFeatures.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/api/node/extHostLanguageFeatures.ts b/src/vs/workbench/api/node/extHostLanguageFeatures.ts index f5c7b15086c..b2a57f738b5 100644 --- a/src/vs/workbench/api/node/extHostLanguageFeatures.ts +++ b/src/vs/workbench/api/node/extHostLanguageFeatures.ts @@ -66,6 +66,8 @@ class OutlineAdapter { for (let i = 0; i < info.length; i++) { let element = new Hierarchy(new SymbolInformation2(info[i].name, '', info[i].kind, info[i].location.range, info[i].location)); element.parent.containerName = info[i].containerName; + element.parent.location = info[i].location; // todo@joh make this proper + while (true) { if (parentStack.length === 0) { parentStack.push(element);