From 87be9f76206780eea25a44075ae0f6a5eb568d10 Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Thu, 2 Dec 2021 15:26:57 +0100 Subject: [PATCH] align with other settings and rename `problems.compareOrder` to `problems.sortOrder`, https://github.com/microsoft/vscode/issues/135249 --- src/vs/editor/contrib/gotoError/markerNavigationService.ts | 2 +- .../workbench/contrib/markers/browser/markers.contribution.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/editor/contrib/gotoError/markerNavigationService.ts b/src/vs/editor/contrib/gotoError/markerNavigationService.ts index d9213a66ce6..a8c27316ee4 100644 --- a/src/vs/editor/contrib/gotoError/markerNavigationService.ts +++ b/src/vs/editor/contrib/gotoError/markerNavigationService.ts @@ -47,7 +47,7 @@ export class MarkerList { this._resourceFilter = resourceFilter; } - const compareOrder = this._configService.getValue('problems.compareOrder'); + const compareOrder = this._configService.getValue('problems.sortOrder'); const compareMarker = (a: IMarker, b: IMarker): number => { let res = compare(a.resource.toString(), b.resource.toString()); if (compareOrder === 'position') { diff --git a/src/vs/workbench/contrib/markers/browser/markers.contribution.ts b/src/vs/workbench/contrib/markers/browser/markers.contribution.ts index 073988a4dcf..4649c94978c 100644 --- a/src/vs/workbench/contrib/markers/browser/markers.contribution.ts +++ b/src/vs/workbench/contrib/markers/browser/markers.contribution.ts @@ -101,7 +101,7 @@ Registry.as(Extensions.Configuration).registerConfigurat 'type': 'boolean', 'default': false }, - 'problems.compareOrder': { + 'problems.sortOrder': { 'description': Messages.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER, 'type': 'string', 'default': 'severity',