Skip to content

Commit 6683b15

Browse files
committed
misc update
1 parent acd67c5 commit 6683b15

4 files changed

Lines changed: 19 additions & 9 deletions

File tree

package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -377,12 +377,6 @@
377377
"markdownDescription": "%settings.iar.arm.toolchain.install.folder%",
378378
"default": ""
379379
},
380-
"EIDE.STM8.GNU-SDCC.InstallDirectory": {
381-
"type": "string",
382-
"scope": "resource",
383-
"markdownDescription": "gnu sdcc for stm8 installation path",
384-
"default": "${userHome}/.eide/tools/stm8_gnu_sdcc"
385-
},
386380
"EIDE.STM8.COSMIC.InstallDirectory": {
387381
"type": "string",
388382
"scope": "resource",

package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,5 @@
173173
"string.eide.open_docs": "Learn More",
174174
"string.eide.open_docs.detail": "Click the link will open the home page that may help you learn more about usage.\n[Embedded IDE](https://em-ide.com/)",
175175

176-
"string.eide.project.welcome": "No projects in this workspace !\n[Open Project](command:eide.operation.open_project)\n[Create Project](command:eide.operation.new_project)\n[Import Project](command:eide.operation.import_project)"
176+
"string.eide.project.welcome": "No eide projects in this workspace !\n[Open Project](command:eide.operation.open_project)\n[New Project](command:eide.operation.new_project)\n[Import Project](command:eide.operation.import_project)"
177177
}

res/html/builder_options/js/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/OperationExplorer.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,23 @@ export class OperationExplorer {
10921092
description: group.desc || ""
10931093
};
10941094
}
1095-
}).sort((a, b) => { return a.label.localeCompare(b.label); });
1095+
});
1096+
1097+
if (curTempGroup.name === '/') {
1098+
category_sel_list = category_sel_list
1099+
.sort((a, b) => {
1100+
// 始终保证 'MCU' 分类处于第一个
1101+
if (a.label === 'MCU')
1102+
return -1;
1103+
else if (b.label === 'MCU')
1104+
return 1;
1105+
else
1106+
return a.label.localeCompare(b.label);
1107+
});
1108+
} else {
1109+
category_sel_list = category_sel_list
1110+
.sort((a, b) => a.label.localeCompare(b.label));
1111+
}
10961112

10971113
if (prevGroupStack.length > 0) {
10981114
category_sel_list = <CategoryPickItem[]>[goBackItemForGroup].concat(category_sel_list);

0 commit comments

Comments
 (0)