From d48072213fbced11888e7aa52b9da73be9d4d9ca Mon Sep 17 00:00:00 2001 From: isidor Date: Tue, 8 May 2018 12:28:15 +0200 Subject: [PATCH] fixes #49413 --- .../parts/debug/electron-browser/debugConfigurationManager.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts b/src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts index 82d538f0d93..3379a07d268 100644 --- a/src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts +++ b/src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts @@ -349,6 +349,8 @@ export class ConfigurationManager implements IConfigurationManager { if (!candidates) { candidates = this.debuggers.filter(a => a.hasInitialConfiguration() || a.hasConfigurationProvider); } + + candidates = candidates.sort((first, second) => first.label.localeCompare(second.label)); return this.quickOpenService.pick([...candidates, { label: 'More...', separator: { border: true } }], { placeHolder: nls.localize('selectDebug', "Select Environment") }) .then(picked => { if (picked instanceof Debugger) { -- GitLab