From 606987ec3ddc24d5ceefb41d1d0f8fa301d041f2 Mon Sep 17 00:00:00 2001 From: isidor Date: Tue, 20 Aug 2019 12:35:46 +0200 Subject: [PATCH] debugSession: respect sortText fixes #78408 --- src/vs/workbench/contrib/debug/browser/debugSession.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/debug/browser/debugSession.ts b/src/vs/workbench/contrib/debug/browser/debugSession.ts index 24b9b18c788..ccee3cee540 100644 --- a/src/vs/workbench/contrib/debug/browser/debugSession.ts +++ b/src/vs/workbench/contrib/debug/browser/debugSession.ts @@ -554,7 +554,8 @@ export class DebugSession implements IDebugSession { insertText: item.text || item.label, kind: completionKindFromString(item.type || 'property'), filterText: (item.start && item.length) ? text.substr(item.start, item.length).concat(item.label) : undefined, - range: Range.fromPositions(position.delta(0, -(item.length || overwriteBefore)), position) + range: Range.fromPositions(position.delta(0, -(item.length || overwriteBefore)), position), + sortText: item.sortText }); } });