mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00: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:
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]];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1622,7 +1622,6 @@
|
|||
"jade": "_jade",
|
||||
"class": "_java_1",
|
||||
"classpath": "_java",
|
||||
"properties": "_java",
|
||||
"js.map": "_javascript",
|
||||
"spec.js": "_javascript_1",
|
||||
"test.js": "_javascript_1",
|
||||
|
@ -2025,7 +2024,6 @@
|
|||
"jade": "_jade_light",
|
||||
"class": "_java_1_light",
|
||||
"classpath": "_java_light",
|
||||
"properties": "_java_light",
|
||||
"js.map": "_javascript_light",
|
||||
"spec.js": "_javascript_1_light",
|
||||
"test.js": "_javascript_1_light",
|
||||
|
|
Loading…
Reference in a new issue