mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 22:41:31 +01:00
The properties language uses a Java icon in the Seti theme (#161770)
The properties language uses a Java icon in the Seti theme. Fixes #158453
This commit is contained in:
committed by
GitHub
parent
d1479b595c
commit
ae8cf2186e
@@ -47,7 +47,11 @@ const inheritIconFromLanguage = {
|
||||
"postcss": 'css',
|
||||
"django-html": 'html',
|
||||
"blade": 'php'
|
||||
}
|
||||
};
|
||||
|
||||
const ignoreExtAssociation = {
|
||||
"properties": true
|
||||
};
|
||||
|
||||
const FROM_DISK = true; // set to true to take content from a repo checked out next to the vscode repo
|
||||
|
||||
@@ -399,7 +403,7 @@ exports.update = function () {
|
||||
if (!nonBuiltInLanguages[lang] && !inheritIconFromLanguage[lang]) {
|
||||
for (let i2 = 0; i2 < exts.length; i2++) {
|
||||
// remove the extension association, unless it is different from the preferred
|
||||
if (ext2Def[exts[i2]] === preferredDef) {
|
||||
if (ext2Def[exts[i2]] === preferredDef || ignoreExtAssociation[exts[i2]]) {
|
||||
delete ext2Def[exts[i2]];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user