Skip to content

Commit 9486874

Browse files
committed
v2.9.0
1 parent 5ceb5ab commit 9486874

File tree

12 files changed

+491
-19
lines changed

12 files changed

+491
-19
lines changed

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ vsc-extension-quickstart.md
66
*.vsix
77
.EIDE
88
.vscodeignore
9-
lib
9+
./lib
1010
/dist
1111
/doc
1212
pack.js
@@ -16,4 +16,8 @@ test.js
1616
*.cpuprofile
1717
package-lock.json
1818
# internal template projects
19-
res/template/projects
19+
res/template/projects
20+
# bin
21+
bin/builder/*.xml
22+
bin/builder/*.exe.config
23+
bin/tools/*

.vscodeignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@ res/template/projects
2727
*.js.map
2828
# eide makefile template
2929
.gitmodules
30-
res/eide_makefile_template
30+
res/eide_makefile_template
31+
# ignore unused files
32+
bin/builder/*.xml
33+
bin/builder/*.exe.config
34+
bin/tools
35+
docs

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44

55
***
66

7+
### [v2.9.0]
8+
- **更改:使用内置的 Mono 运行时代替 .NetFramework 运行时**
9+
- 更改:eide 默认模板仓库转移至 https://github.com/github0null/eide-resource
10+
- 新增:支持在线安装缺失的工具
11+
- 新增:对某个源文件查看反汇编(仅支持 GCC 系列)
12+
***
13+
714
### [v2.8.1]
815
- **更改:调整某些插件设置的命名(旧的设置将会失效)**
916
- 更改:调整 **工具链设置** 图标的显示状态

bin/7z/7za.dll

-263 KB
Binary file not shown.

bin/7z/7zxa.dll

-155 KB
Binary file not shown.

bin/builder/unify_builder.exe

512 Bytes
Binary file not shown.

docs/cppcheck.txt

Lines changed: 296 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"comments": {
3+
"lineComment": ";"
4+
},
5+
"indentationRules": {
6+
"increaseIndentPattern": "^[a-zA-Z_]\\w*\\s*:\\s*",
7+
"decreaseIndentPattern": "^[a-zA-Z_]\\w*\\s*:\\s*"
8+
}
9+
}

lang/edasm.tmLanguage.json

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
{
2+
"information_for_contributors": [
3+
"eide gcc disassembly support"
4+
],
5+
"version": "1.0.0",
6+
"name": "edasm",
7+
"scopeName": "source.dasm.gcc",
8+
"patterns": [
9+
{
10+
"include": "#file_header"
11+
},
12+
{
13+
"include": "#section_header"
14+
},
15+
{
16+
"include": "#operators"
17+
},
18+
{
19+
"include": "#number"
20+
},
21+
{
22+
"include": "#comment"
23+
},
24+
{
25+
"include": "#statement"
26+
},
27+
{
28+
"include": "#string"
29+
}
30+
],
31+
"repository": {
32+
"file_header": {
33+
"match": "(.*):\\s+\\b(file format)\\b\\s+(.*)",
34+
"captures": {
35+
"1": {
36+
"name": "variable"
37+
},
38+
"2": {
39+
"name": "string"
40+
},
41+
"3": {
42+
"name": "entity.name.type"
43+
}
44+
}
45+
},
46+
"section_header": {
47+
"match": "\\b(Disassembly of section)\\b\\s+(.*)",
48+
"captures": {
49+
"1": {
50+
"name": "keyword.control.import"
51+
},
52+
"2": {
53+
"name": "entity.name.type"
54+
}
55+
}
56+
},
57+
"operators": {
58+
"match": "\\+",
59+
"captures": {
60+
"0": {
61+
"name": "keyword.operator"
62+
}
63+
}
64+
},
65+
"number": {
66+
"match": "(?i)\\b([0-9a-f]+H|0x[0-9a-f]+)\\b",
67+
"captures": {
68+
"1": {
69+
"name": "constant.numeric"
70+
}
71+
}
72+
},
73+
"comment": {
74+
"match": "(;.+)",
75+
"captures": {
76+
"1": {
77+
"name": "comment.line"
78+
}
79+
}
80+
},
81+
"statement": {
82+
"match": "(?i)\\s*([0-9a-f]+:)\\s*([0-9a-f]+) ([0-9a-f]+)?\\s+([a-z\\.]+)([^;]*)",
83+
"captures": {
84+
"1": {
85+
"name": "string"
86+
},
87+
"2": {
88+
"name": "constant.numeric"
89+
},
90+
"3": {
91+
"name": "constant.numeric"
92+
},
93+
"4": {
94+
"name": "support.function.mnemonic.arithmetic"
95+
},
96+
"5": {
97+
"name": "storage.other.register"
98+
}
99+
}
100+
},
101+
"string": {
102+
"match": "(\"[^\"]*\"|'[^']*')",
103+
"captures": {
104+
"1": {
105+
"name": "string"
106+
}
107+
}
108+
}
109+
}
110+
}

package.json

Lines changed: 43 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"homepage": "https://github.com/github0null/eide/blob/master/README.md",
2626
"license": "MIT",
2727
"description": "A singlechip development environment for 8051/STM8/Cortex-M/RISC-V",
28-
"version": "2.8.1",
28+
"version": "2.9.0",
2929
"engines": {
3030
"vscode": "^1.38.0"
3131
},
@@ -134,12 +134,6 @@
134134
"markdownDescription": "%settings.option.print.relative.path%",
135135
"default": true
136136
},
137-
"EIDE.Option.CreateBatchFile": {
138-
"type": "boolean",
139-
"scope": "resource",
140-
"markdownDescription": "%settings.option.create.batch.file%",
141-
"default": false
142-
},
143137
"EIDE.Option.UseTaskToBuild": {
144138
"type": "boolean",
145139
"scope": "resource",
@@ -162,7 +156,7 @@
162156
"type": "string",
163157
"scope": "machine",
164158
"markdownDescription": "%settings.template.repo.url%",
165-
"default": "github0null/eide-doc/contents/eide-template-list"
159+
"default": "github0null/eide-resource/contents/eide-template-list"
166160
},
167161
"EIDE.SerialPortMonitor.DefaultPort": {
168162
"type": "string",
@@ -345,6 +339,10 @@
345339
]
346340
},
347341
"commands": [
342+
{
343+
"command": "_project.source.show_disassembly",
344+
"title": "%eide.source.show.disassembly%"
345+
},
348346
{
349347
"command": "_project.source.filesystem_folder_add_file",
350348
"title": "%eide.explorer.new.file%"
@@ -743,12 +741,6 @@
743741
"group": "navigation"
744742
}
745743
],
746-
"editor/context": [
747-
{
748-
"command": "eide.c51ToSdcc",
749-
"group": "commands"
750-
}
751-
],
752744
"view/title": [
753745
{
754746
"command": "_project.refresh",
@@ -770,6 +762,25 @@
770762
"when": "view == Project"
771763
}
772764
],
765+
"editor/context": [
766+
{
767+
"command": "eide.c51ToSdcc",
768+
"group": "commands",
769+
"when": "resourceLangId == c || resourceLangId == cpp && cl.eide.projectActived"
770+
},
771+
{
772+
"command": "_project.source.show_disassembly",
773+
"group": "commands",
774+
"when": "resourceLangId == c || resourceLangId == cpp && cl.eide.projectActived"
775+
}
776+
],
777+
"explorer/context": [
778+
{
779+
"command": "_project.source.show_disassembly",
780+
"group": "commands",
781+
"when": "resourceLangId == c || resourceLangId == cpp && cl.eide.projectActived"
782+
}
783+
],
773784
"view/item/context": [
774785
{
775786
"command": "_project.source.filesystem_folder_add_file",
@@ -1014,6 +1025,19 @@
10141025
"**/*.A51"
10151026
],
10161027
"configuration": "./lang/a51.language-configuration.json"
1028+
},
1029+
{
1030+
"id": "edasm",
1031+
"aliases": [
1032+
"EIDE GCC Disassembly"
1033+
],
1034+
"extensions": [
1035+
".edasm"
1036+
],
1037+
"filenamePatterns": [
1038+
"**/*.edasm"
1039+
],
1040+
"configuration": "./lang/edasm.language-configuration.json"
10171041
}
10181042
],
10191043
"jsonValidation": [
@@ -1060,6 +1084,11 @@
10601084
"language": "a51",
10611085
"scopeName": "source.asm.a51",
10621086
"path": "./lang/a51.tmLanguage.json"
1087+
},
1088+
{
1089+
"language": "edasm",
1090+
"scopeName": "source.dasm.gcc",
1091+
"path": "./lang/edasm.tmLanguage.json"
10631092
}
10641093
],
10651094
"problemMatchers": [

0 commit comments

Comments
 (0)