Skip to content

Commit 1dcc5b1

Browse files
committed
- Remove models file UTF8-BOM header
- Optimize project auto save/reload - Add 'Build', 'Flash' status bar - Optimize api
1 parent 258ca85 commit 1dcc5b1

21 files changed

+183
-76
lines changed

package.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@
11261126
{
11271127
"command": "_cl.eide.project.source.show_disassembly",
11281128
"group": "commands",
1129-
"when": "resourceExtname =~ /\\.c$|\\.cpp$|\\.c\\+\\+$|\\.cc$|\\.cxx$|\\.info$|\\.axf$|\\.elf$/ && cl.eide.projectActived && !config.EIDE.Option.DisableEditorContextMenu"
1129+
"when": "resourceExtname =~ /\\.c$|\\.cpp$|\\.c\\+\\+$|\\.cc$|\\.cxx$|\\.info$|\\.axf$|\\.elf$|\\.out$/ && cl.eide.projectActived && !config.EIDE.Option.DisableEditorContextMenu"
11301130
},
11311131
{
11321132
"command": "_cl.eide.project.source.show_cmsis_config_wizard",
@@ -1155,15 +1155,10 @@
11551155
}
11561156
],
11571157
"explorer/context": [
1158-
{
1159-
"command": "eide.c51ToSdcc",
1160-
"group": "commands",
1161-
"when": "resourceLangId =~ /^c$|^cpp$/ && cl.eide.projectActived && !config.EIDE.Option.DisableExplorerContextMenu"
1162-
},
11631158
{
11641159
"command": "_cl.eide.project.source.show_disassembly",
11651160
"group": "commands",
1166-
"when": "resourceExtname =~ /\\.c$|\\.cpp$|\\.c\\+\\+$|\\.cc$|\\.cxx$|\\.axf$|\\.elf$/ && cl.eide.projectActived && !config.EIDE.Option.DisableExplorerContextMenu"
1161+
"when": "resourceExtname =~ /\\.c$|\\.cpp$|\\.c\\+\\+$|\\.cc$|\\.cxx$|\\.axf$|\\.elf$|\\.out$/ && cl.eide.projectActived && !config.EIDE.Option.DisableExplorerContextMenu"
11671162
},
11681163
{
11691164
"command": "_cl.eide.project.source.show_cmsis_config_wizard",
@@ -1660,6 +1655,15 @@
16601655
}
16611656
}
16621657
}
1663-
]
1658+
],
1659+
"icons": {
1660+
"eide-hammer": {
1661+
"description": "fa-hammer",
1662+
"default": {
1663+
"fontPath": "./res/icon/fa-solid-900.woff",
1664+
"fontCharacter": "\\f6e3"
1665+
}
1666+
}
1667+
}
16641668
}
16651669
}

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
"settings.builder.jobs": "The number of threads when build",
102102

103103
"settings.option.show.toolbar.in.editer.title": "Displays some toolbars in the editor title",
104+
"settings.option.show.statusbar": "Displays toolbar icons in the status bar",
104105
"settings.option.print.relative.path": "Print relative path when compile source file",
105106
"settings.option.create.batch.file": "Create batch file after build",
106107
"settings.option.use.task.to.build": "Use Task to build project instead of Terminal",

package.nls.zh-CN.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393

9494
"settings.builder.jobs": "构建时使用的线程数",
9595

96-
"settings.option.show.toolbar.in.editer.title": "在编辑器的标题栏显示小工具",
96+
"settings.option.show.toolbar.in.editer.title": "在编辑器的标题栏显示工具栏图标",
97+
"settings.option.show.statusbar": "在状态栏显示工具栏图标",
9798
"settings.option.print.relative.path": "编译时打印源文件的相对路径",
9899
"settings.option.create.batch.file": "生成脚本",
99100
"settings.option.use.task.to.build": "使用 vscode 任务执行编译命令",

res/data/models/unix/any.gcc.model.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"name": "GNU Toolchain",
33
"id": "GCC",
44
"toolPrefix": "",

res/data/models/unix/arm.gcc.model.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"name": "GNU Arm Embedded Toolchain",
33
"id": "GCC",
44
"toolPrefix": "arm-none-eabi-",

res/data/models/unix/stm8.cosmic.model.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"name": "COSMIC C Compiler For STM8",
33
"id": "COSMIC_STM8",
44
"useUnixPath": true,

res/data/models/unix/stm8.iar.model.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"name": "IAR C Compiler For STM8",
33
"id": "IAR_STM8",
44
"version": {

res/data/models/win32/any.gcc.model.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"name": "GNU Toolchain",
33
"id": "GCC",
44
"toolPrefix": "",

res/data/models/win32/arm.gcc.model.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"name": "GNU Arm Embedded Toolchain",
33
"id": "GCC",
44
"toolPrefix": "arm-none-eabi-",

res/data/models/win32/stm8.cosmic.model.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"name": "COSMIC C Compiler For STM8",
33
"id": "COSMIC_STM8",
44
"version": {

0 commit comments

Comments
 (0)