remove priority all togther, maybe add something like severity in the future, https://github.com/microsoft/vscode/issues/54938

This commit is contained in:
Johannes Rieken
2020-09-25 16:13:18 +02:00
parent 8932f62afa
commit 0a914e0e61
5 changed files with 6 additions and 11 deletions

View File

@@ -1605,7 +1605,7 @@ export interface DecorationRequest {
readonly uri: UriComponents;
}
export type DecorationData = [number, boolean, string, string, ThemeColor];
export type DecorationData = [boolean, string, string, ThemeColor];
export type DecorationReply = { [id: number]: DecorationData; };
export interface ExtHostDecorationsShape {

View File

@@ -71,7 +71,7 @@ export class ExtHostDecorations implements ExtHostDecorationsShape {
}
try {
FileDecoration.validate(data);
result[id] = <DecorationData>[data.priority, data.propagte, data.tooltip, data.badge, data.color];
result[id] = <DecorationData>[data.propagte, data.tooltip, data.badge, data.color];
} catch (e) {
this._logService.warn(`INVALID decoration from extension '${extensionId.value}': ${e}`);
}