Skip to content

Commit 87be9f7

Browse files
committed
align with other settings and rename problems.compareOrder to problems.sortOrder, microsoft#135249
1 parent e228f2a commit 87be9f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vs/editor/contrib/gotoError/markerNavigationService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class MarkerList {
4747
this._resourceFilter = resourceFilter;
4848
}
4949

50-
const compareOrder = this._configService.getValue<string>('problems.compareOrder');
50+
const compareOrder = this._configService.getValue<string>('problems.sortOrder');
5151
const compareMarker = (a: IMarker, b: IMarker): number => {
5252
let res = compare(a.resource.toString(), b.resource.toString());
5353
if (compareOrder === 'position') {

src/vs/workbench/contrib/markers/browser/markers.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Registry.as<IConfigurationRegistry>(Extensions.Configuration).registerConfigurat
101101
'type': 'boolean',
102102
'default': false
103103
},
104-
'problems.compareOrder': {
104+
'problems.sortOrder': {
105105
'description': Messages.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER,
106106
'type': 'string',
107107
'default': 'severity',

0 commit comments

Comments
 (0)