|
@@ -8,19 +8,23 @@ function activate(context) {
|
8
|
8
|
|
9
|
9
|
var NEXT_TERM_ID = 1;
|
10
|
10
|
var pio_build = vscode.commands.registerCommand('piobuild', function () {
|
11
|
|
- const terminal = vscode.window.createTerminal(`#${NEXT_TERM_ID++}`);
|
|
11
|
+ const terminal = vscode.window.createTerminal(`AB Build #${NEXT_TERM_ID++}`);
|
|
12
|
+ terminal.show(true);
|
12
|
13
|
terminal.sendText("python buildroot/share/atom/auto_build.py build");
|
13
|
14
|
});
|
14
|
15
|
var pio_clean = vscode.commands.registerCommand('pioclean', function () {
|
15
|
|
- const terminal = vscode.window.createTerminal(`#${NEXT_TERM_ID++}`);
|
|
16
|
+ const terminal = vscode.window.createTerminal(`AB Clean #${NEXT_TERM_ID++}`);
|
|
17
|
+ terminal.show(true);
|
16
|
18
|
terminal.sendText("python buildroot/share/atom/auto_build.py clean");
|
17
|
19
|
});
|
18
|
20
|
var pio_upload = vscode.commands.registerCommand('pioupload', function () {
|
19
|
|
- const terminal = vscode.window.createTerminal(`#${NEXT_TERM_ID++}`);
|
|
21
|
+ const terminal = vscode.window.createTerminal(`AB Upload #${NEXT_TERM_ID++}`);
|
|
22
|
+ terminal.show(true);
|
20
|
23
|
terminal.sendText("python buildroot/share/atom/auto_build.py upload");
|
21
|
24
|
});
|
22
|
25
|
var pio_traceback = vscode.commands.registerCommand('piotraceback', function () {
|
23
|
|
- const terminal = vscode.window.createTerminal(`#${NEXT_TERM_ID++}`);
|
|
26
|
+ const terminal = vscode.window.createTerminal(`AB Traceback #${NEXT_TERM_ID++}`);
|
|
27
|
+ terminal.show(true);
|
24
|
28
|
terminal.sendText("python buildroot/share/atom/auto_build.py traceback");
|
25
|
29
|
});
|
26
|
30
|
|