align with other settings and rename problems.compareOrder to problems.sortOrder, https://github.com/microsoft/vscode/issues/135249

This commit is contained in:
Johannes Rieken 2021-12-02 15:26:57 +01:00
parent e228f2a2b5
commit 87be9f7620
No known key found for this signature in database
GPG key ID: 96634B5AF12F8798
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ export class MarkerList {
this._resourceFilter = resourceFilter;
}
const compareOrder = this._configService.getValue<string>('problems.compareOrder');
const compareOrder = this._configService.getValue<string>('problems.sortOrder');
const compareMarker = (a: IMarker, b: IMarker): number => {
let res = compare(a.resource.toString(), b.resource.toString());
if (compareOrder === 'position') {

View file

@ -101,7 +101,7 @@ Registry.as<IConfigurationRegistry>(Extensions.Configuration).registerConfigurat
'type': 'boolean',
'default': false
},
'problems.compareOrder': {
'problems.sortOrder': {
'description': Messages.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER,
'type': 'string',
'default': 'severity',