Skip to content

Commit d487b1e

Browse files
committed
change Activation Events and configuration ...
1 parent bb8d503 commit d487b1e

File tree

3 files changed

+43
-43
lines changed

3 files changed

+43
-43
lines changed

i18n/chs/package.i18n.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"dosasm.badges.code": "一些有意思的汇编代码",
32
"dosasm.editor.openEmu": "打开dosbox并配置环境(并挂载)",
43
"dosasm.editor.runAsm": "运行当前程序(汇编+链接+运行)",
54
"dosasm.editor.debugAsm": "调试当前程序(汇编+链接+调试)",
@@ -8,19 +7,19 @@
87
"dosasm.config.masmortasm.description": "使用MASM还是TASM作为汇编工具",
98
"dosasm.config.masmortasm.enum1": "使用MASM汇编工具集,包括masm.exe,link.exe,debug.exe...",
109
"dosasm.config.masmortasm.enum2": "使用TASM汇编工具集,包括tasm.exe,tlink.exe,td.exe...",
11-
"dosasm.config.emulator.description": "选择使用的16位环境模拟器,linux无论选择哪个都等同于选择dosbox",
10+
"dosasm.config.emulator.description": "windows下选择使用的16位环境模拟器,其他系统都视为使用DOSBox",
1211
"dosasm.config.emulator.dosbox": "全部使用dosbox模拟16位系统环境,相对比较稳定",
1312
"dosasm.config.emulator.player": "尽量使用msdos player模拟,td时使用dosbox,不会弹出一个窗口,但是可能无法得到程序预期的运行结果",
1413
"dosasm.config.emulator.auto": "自动选择(推荐):使用MSDOS-player汇编链接,使用dosbox运行,TD调试时用dosbox,debug调试时用MSDOS player",
1514
"dosasm.config.savefirst": "在运行之前先保存文件,不保存的话,无法体现当前变更",
16-
"dosasm.config.boxrun.description": "选择在dosbox中运行的方式",
17-
"dosasm.config.boxrun.enum1": "运行之后在dosbox窗口停留,可以输入exit,点击x,或者Ctrl+F9关闭程序",
18-
"dosasm.config.boxrun.enum2": "运行程序之后自动关闭",
19-
"dosasm.config.boxrun.enum3": "运行程序之后先停顿一下 输入任意字符后关闭窗口",
20-
"dosasm.config.boxconsole.description":"控制windows系统下dosbox的控制台窗口如何显示",
21-
"dosasm.config.boxconsole.min":"最小化控制台窗口,使用命令如`start/min dosbox`",
22-
"dosasm.config.boxconsole.normal":"显示控制台窗口,使用命令如`dosbox`",
23-
"dosasm.config.boxconsole.noconsole":"不显示控制台窗口,而是重定向到文件,使用命令如`dosbox -noconsole`",
15+
"dosasm.config.boxrun.description": "选择在dosbox中运行代码时,运行代码结束后执行什么操作",
16+
"dosasm.config.boxrun.enum1": "运行之后在dosbox窗口停留,可以输入exit,点击右上角“x”,或者按Ctrl+F9关闭DOSBOX",
17+
"dosasm.config.boxrun.enum2": "运行程序之后直接关闭DOSBOX",
18+
"dosasm.config.boxrun.enum3": "运行程序之后先停顿一下,输入任意字符后关闭DOSBOX窗口",
19+
"dosasm.config.boxconsole.description": "控制windows系统下dosbox的控制台窗口如何显示",
20+
"dosasm.config.boxconsole.min": "最小化控制台窗口,使用命令如`start/min dosbox`",
21+
"dosasm.config.boxconsole.normal": "显示控制台窗口,使用命令如`dosbox`",
22+
"dosasm.config.boxconsole.noconsole": "不显示控制台窗口,而是重定向到文件,使用命令如`dosbox -noconsole`",
2423
"dosasm.config.dosbox.resolution": "自定义dosbox窗口大小,格式如1024x640,不设置则为DOSBox默认大小",
2524
"dosasm.command.dosboxhere": "打开DOSBox将当前文件所在目录挂载到E盘,并配置相关环境"
2625
}

package.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"微机原理",
1212
"tasm",
1313
"masm",
14-
"8086"
14+
"x86"
1515
],
1616
"icon": "dosboxasm.png",
1717
"engines": {
@@ -25,14 +25,16 @@
2525
{
2626
"url": "https://github.com/xsro/masm-tasm/raw/master/pics/asm.png",
2727
"href": "https://github.com/xsro/masm-tasm/wiki/dosbox",
28-
"description": "%dosasm.badges.code%"
28+
"description": "some interesting ASM code"
2929
}
3030
],
3131
"activationEvents": [
3232
"workspaceContains:*.ASM",
3333
"workspaceContains:*.asm",
3434
"onCommand:masm-tasm.dosboxhere",
35-
"onlanguage:assembly"
35+
"onLanguage:assembly",
36+
"onLanguage:tasm",
37+
"onLanguage:masm"
3638
],
3739
"main": "./out/extension.js",
3840
"contributes": {
@@ -104,7 +106,7 @@
104106
],
105107
"configuration": {
106108
"type": "object",
107-
"title": "MASM-TASM:run&debug assembly in DOS emulator",
109+
"title": "MASM/TASM",
108110
"properties": {
109111
"masmtasm.ASM.toolspath": {
110112
"type": "string",
@@ -150,12 +152,12 @@
150152
},
151153
"masmtasm.dosbox.run": {
152154
"type": "string",
153-
"default": "pause then exit after run",
155+
"default": "pause",
154156
"description": "%dosasm.config.boxrun.description%",
155157
"enum": [
156-
"keep(do nothing)",
157-
"exit after run",
158-
"pause then exit after run"
158+
"keep",
159+
"exit",
160+
"pause"
159161
],
160162
"enumDescriptions": [
161163
"%dosasm.config.boxrun.enum1%",

package.nls.json

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
{
2-
"dosasm.badges.code":"some interesting ASM code",
3-
"dosasm.editor.openEmu":"Open DOSBox",
4-
"dosasm.editor.runAsm":"Run ASM code",
5-
"dosasm.editor.debugAsm":"Debug ASM code",
6-
"dosasm.command.cleanalldianose":"Clean all diagnose information generated by MASM/TASM",
7-
"dosasm.config.toolspath.mddescription":"Set your custom toolset's path,see [about-tools](https://github.com/xsro/masm-tasm/tree/master#about-tools)",
8-
"dosasm.config.masmortasm.description":"use TASM or MASM to operate your assembly codes",
9-
"dosasm.config.masmortasm.enum1":"use MASM toolset, including masm.exe,link.exe,debug.exe...",
10-
"dosasm.config.masmortasm.enum2":"use TASM toolset, including tasm.exe,tlink.exe,td.exe...",
11-
"dosasm.config.emulator.description":"Use DOSBox or MSDOS-player as 16-bit emulator",
12-
"dosasm.config.emulator.dosbox":"Use DOSBox,this may be more stable",
13-
"dosasm.config.emulator.player":"Use MSDOS-player for most cases(use dosbox for TD),this may be more quiet",
14-
"dosasm.config.emulator.auto":"Auto select: use MSDOS-player to compile,use dosbox to run,use dosbox for TD.exe,MSDOS player for debug.exe",
15-
"dosasm.config.savefirst":"Save the file before Open dosbox, run and debug ASM codes",
16-
"dosasm.config.boxrun.description":"What to do after run code in dosbox",
17-
"dosasm.config.boxrun.enum1":"do nothing, manually input exit or click 'x' or press 'Ctrl+F9' to exit",
18-
"dosasm.config.boxrun.enum2":"exit DOSBox automatically",
19-
"dosasm.config.boxrun.enum3":"pause and then exit",
20-
"dosasm.config.boxconsole.description":"what to do with the console window in windows OS",
21-
"dosasm.config.boxconsole.min":"Minimize the console window, via command like `start/min dosbox`",
22-
"dosasm.config.boxconsole.normal":"Show the console window, via command like `dosbox`",
23-
"dosasm.config.boxconsole.noconsole":"Redirect the console stdout and stderr to files, via command like `dosbox -noconsole`",
24-
"dosasm.config.dosbox.resolution":"Set dosbox resolution like '1024x640'.If left empty, it means use the default resolution of DOSBox",
25-
"dosasm.command.dosboxhere":"Dosbox here: Open DosBox, Mount the path of the editor files's folder as E:\\ and set the needed environment"
26-
}
2+
"dosasm.editor.openEmu": "Open DOSBox",
3+
"dosasm.editor.runAsm": "Run ASM code",
4+
"dosasm.editor.debugAsm": "Debug ASM code",
5+
"dosasm.command.cleanalldianose": "Clean all diagnose information generated by MASM/TASM",
6+
"dosasm.config.toolspath.mddescription": "Set your custom toolset's path,see [about-tools](https://github.com/xsro/masm-tasm/tree/main#about-tools)",
7+
"dosasm.config.masmortasm.description": "use TASM or MASM to operate your assembly codes",
8+
"dosasm.config.masmortasm.enum1": "use MASM toolset, including masm.exe,link.exe,debug.exe...",
9+
"dosasm.config.masmortasm.enum2": "use TASM toolset, including tasm.exe,tlink.exe,td.exe...",
10+
"dosasm.config.emulator.description": "Use DOSBox or MSDOS-player as 16-bit emulator for windows",
11+
"dosasm.config.emulator.dosbox": "Use DOSBox,this may be more stable",
12+
"dosasm.config.emulator.player": "Use MSDOS-player for most cases(use dosbox for TD),this may be more quiet",
13+
"dosasm.config.emulator.auto": "Auto select: use MSDOS-player to compile,use dosbox to run,use dosbox for TD.exe,MSDOS player for debug.exe",
14+
"dosasm.config.savefirst": "Save the file before Open dosbox, run and debug ASM codes",
15+
"dosasm.config.boxrun.description": "What to do after run code in dosbox",
16+
"dosasm.config.boxrun.enum1": "do nothing, manually input exit or click 'x' or press 'Ctrl+F9' to exit",
17+
"dosasm.config.boxrun.enum2": "exit DOSBox automatically",
18+
"dosasm.config.boxrun.enum3": "pause and then exit",
19+
"dosasm.config.boxconsole.description": "what to do with the console window in windows OS",
20+
"dosasm.config.boxconsole.min": "Minimize the console window, via command like `start/min dosbox`",
21+
"dosasm.config.boxconsole.normal": "Show the console window, via command like `dosbox`",
22+
"dosasm.config.boxconsole.noconsole": "Redirect the console stdout and stderr to files, via command like `dosbox -noconsole`",
23+
"dosasm.config.dosbox.resolution": "Set dosbox resolution like '1024x640'.If left empty, it means use the default resolution of DOSBox",
24+
"dosasm.command.dosboxhere": "Dosbox here: Open DosBox, Mount the path of the editor files's folder as E:\\ and set the needed environment"
25+
}

0 commit comments

Comments
 (0)