Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 2463f9d

Browse files
authored
Fix config for Arduino. (#177)
* Fix config for Arduino. * Fix plural.
1 parent b2c1401 commit 2463f9d

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

package.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"workspaceContains:.vscode/arduino.json",
2121
"onCommand:arduino.verify",
2222
"onCommand:arduino.upload",
23-
"onCommand:arduino.addLibPath",
2423
"onCommand:selectSerialPort",
2524
"onCommand:changeBoardType",
2625
"onCommand:arduino.showBoardManager",
@@ -47,10 +46,6 @@
4746
"command": "arduino.upload",
4847
"title": "Arduino: Upload"
4948
},
50-
{
51-
"command": "arduino.addLibPath",
52-
"title": "Arduino: Add library paths"
53-
},
5449
{
5550
"command": "arduino.selectSerialPort",
5651
"title": "Arduino: Select Serial Port"
@@ -81,7 +76,7 @@
8176
},
8277
{
8378
"command": "arduino.showLibraryManager",
84-
"title": "Arduino: Manage Libraries"
79+
"title": "Arduino: Libraries Manager"
8580
}
8681
],
8782
"keybindings": [

snippets/arduino.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,19 @@
1818
"prefix": "aloop",
1919
"body": [
2020
"void loop()",
21-
"{\n}"
21+
"{",
22+
"\t${0}",
23+
"}"
2224
],
2325
"description": "Function loop"
2426
},
2527
"setup": {
2628
"prefix": "asetup",
2729
"body": [
2830
"void setup()",
29-
"{\n}"
31+
"{",
32+
"\t${0}",
33+
"}"
3034
],
3135
"description": "Function setup"
3236
},

src/common/constants.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export const ARDUINO_MODE: vscode.DocumentSelector = [
1616
];
1717

1818
export const ARDUINO_MANAGER_PROTOCOL = "arduino-manager";
19-
export const BOARD_MANAGER_URI = vscode.Uri.parse("arduino-manager://arduino/arduino-boardmanager");
20-
export const LIBRARY_MANAGER_URI = vscode.Uri.parse("arduino-manager://arduino/arduino-librarymanager");
19+
export const BOARD_MANAGER_URI = vscode.Uri.parse("arduino-manager://arduino/arduino-boardsmanager");
20+
export const LIBRARY_MANAGER_URI = vscode.Uri.parse("arduino-manager://arduino/arduino-librariesmanager");
2121

2222
export const messages = {
2323
ARDUINO_FILE_ERROR: "The arduino.json file format is not correct.",

src/extension.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export async function activate(context: vscode.ExtensionContext) {
6969
}));
7070

7171
context.subscriptions.push(registerCommand("arduino.showLibraryManager", () => {
72-
return vscode.commands.executeCommand("vscode.previewHtml", LIBRARY_MANAGER_URI, vscode.ViewColumn.Two, "Arduino Library Manager");
72+
return vscode.commands.executeCommand("vscode.previewHtml", LIBRARY_MANAGER_URI, vscode.ViewColumn.Two, "Arduino Libraries Manager");
7373
}));
7474

7575
// change board type

0 commit comments

Comments
 (0)