Skip to content

Commit 68ccf15

Browse files
committed
small changes
1 parent 295452f commit 68ccf15

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "MASM/TASM",
44
"publisher": "xsro",
55
"description": "DOS汇编语言开发环境和语法支持,win下安装即用,自带DOSBox.exe和TASM/MASM工具",
6-
"version": "0.5.3",
6+
"version": "0.5.4-alpha.1",
77
"keywords": [
88
"dosbox",
99
"16位",

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { provider } from "./language/provider";
77
let asm: AsmAction;
88
export function activate(context: vscode.ExtensionContext) {
99
console.log(localize("activate.hello", 'Congratulations, your extension "masm-tasm" is now active!'));
10-
//provide programmaic language features like hover,references,outline(symbol)masmtasm.language.Hover
10+
//provide programmaic language features like hover,references,outline(symbol)
1111
provider(context);
1212
//run and debug the code in dosbox or msdos-player by TASM ot MASM
1313
asm = new AsmAction(context);
@@ -20,7 +20,7 @@ export function activate(context: vscode.ExtensionContext) {
2020
let debugASM = vscode.commands.registerTextEditorCommand('masm-tasm.debugASM', () => {
2121
asm.runcode('debug');
2222
});
23-
let cleanalldiagnose = vscode.commands.registerTextEditorCommand('masm-tasm.cleanalldiagnose', () => {
23+
let cleanalldiagnose = vscode.commands.registerCommand('masm-tasm.cleanalldiagnose', () => {
2424
asm.cleanalldiagnose();
2525
});
2626
let dosboxhere = vscode.commands.registerCommand('masm-tasm.dosboxhere', () => {

src/viaPlayer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ export function runPlayer(conf: Config, filename: string): Promise<string> {
2727
setTimeout(() => {
2828
if (child.exitCode === null) {
2929
child.kill();
30-
window.showErrorMessage(`Run playerasm.bat timeout after ${timeout}ms\t\nFilepath: ${conf.msbatpath} `)
30+
window.showErrorMessage(`Run playerasm.bat timeout after ${timeout}ms\t\nFilepath: ${conf.msbatpath}`);
31+
console.log(child);
3132
}
3233
}, timeout);
3334

0 commit comments

Comments
 (0)