mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
labels: authority is case-insensitive
This commit is contained in:
@@ -117,7 +117,7 @@ export class LabelService implements ILabelService {
|
||||
return;
|
||||
}
|
||||
|
||||
if (match(formatter.authority, resource.authority) && (!bestResult || !bestResult.authority || formatter.authority.length > bestResult.authority.length || ((formatter.authority.length === bestResult.authority.length) && formatter.priority))) {
|
||||
if (match(formatter.authority.toLowerCase(), resource.authority.toLowerCase()) && (!bestResult || !bestResult.authority || formatter.authority.length > bestResult.authority.length || ((formatter.authority.length === bestResult.authority.length) && formatter.priority))) {
|
||||
bestResult = formatter;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user