mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
align with other settings and rename problems.compareOrder
to problems.sortOrder
, https://github.com/microsoft/vscode/issues/135249
This commit is contained in:
parent
e228f2a2b5
commit
87be9f7620
|
@ -47,7 +47,7 @@ export class MarkerList {
|
||||||
this._resourceFilter = resourceFilter;
|
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 => {
|
const compareMarker = (a: IMarker, b: IMarker): number => {
|
||||||
let res = compare(a.resource.toString(), b.resource.toString());
|
let res = compare(a.resource.toString(), b.resource.toString());
|
||||||
if (compareOrder === 'position') {
|
if (compareOrder === 'position') {
|
||||||
|
|
|
@ -101,7 +101,7 @@ Registry.as<IConfigurationRegistry>(Extensions.Configuration).registerConfigurat
|
||||||
'type': 'boolean',
|
'type': 'boolean',
|
||||||
'default': false
|
'default': false
|
||||||
},
|
},
|
||||||
'problems.compareOrder': {
|
'problems.sortOrder': {
|
||||||
'description': Messages.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER,
|
'description': Messages.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER,
|
||||||
'type': 'string',
|
'type': 'string',
|
||||||
'default': 'severity',
|
'default': 'severity',
|
||||||
|
|
Loading…
Reference in a new issue