You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Arduino IDE](<(https://github.com/arduino/arduino-ide)>) API for VS Code extensions.
5
+
[Arduino IDE](https://github.com/arduino/arduino-ide) API for VS Code extensions.
6
6
7
-
This VS Code extension does not provide any functionality but a bridge between the Arduino IDE and external tools implemented as a VS Code extension. Please reference [arduino/arduino-ide#58](https://github.com/arduino/arduino-ide/issues/58) to explain why this VSIX has been created.
7
+
This VS Code extension does not provide any functionality but a bridge between the Arduino IDE and external tools implemented as a VS Code extension. Please reference [arduino/arduino-ide#58](https://github.com/arduino/arduino-ide/issues/58) to see why this VSIX has been created.
8
8
9
-
> ⚠️ This extension has nothing to do with the [Visual Studio Code extension for Arduino](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-arduino). This extension does not work in VS Code.
9
+
> ⚠️ This extension has nothing to do with the [Visual Studio Code extension for Arduino](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-arduino).
10
10
11
11
## API
12
12
13
-
Exposes the Arduino context for VS Code extensions:
|`sketchPath`| Absolute filesystem path of the sketch folder. |`string`|
18
18
|`compileSummary`| The summary of the latest sketch compilation. When the `sketchPath` is available, but the sketch has not been verified (compiled), the `buildPath` can be `undefined`. |`CompileSummary`| ⚠️ `@alpha`|
19
19
|`fqbn`| The Fully Qualified Board Name (FQBN) of the currently selected board in the Arduino IDE. |`string`|
@@ -82,7 +82,7 @@ This extension contributes the following settings:
82
82
83
83
---
84
84
85
-
- Q: What does `@alpha` mean?
85
+
- Q: What does ⚠️ `@alpha` mean?
86
86
- A: This API is in an alpha state and might change. The initial idea of this project was to establish a bare minimum layer and help Arduino IDE tool developers start with something. I make breaking changes only when necessary, keep it backward compatible, or provide a migration guide in the future. Please prepare for breaking changes.
87
87
88
88
---
@@ -92,15 +92,5 @@ This extension contributes the following settings:
92
92
93
93
---
94
94
95
-
- Q: I cannot find the `dankeboy36.vscode-arduino-api` extension in neither the [VS Code Marketplace](https://marketplace.visualstudio.com/vscode) nor [Open VSX Registry](https://open-vsx.org/).
96
-
- A: Correct. This solution targets the [Arduino IDE](https://github.com/arduino/arduino-ide) 2.x. The IDE will contain this VSIX at runtime and will activate it before your tool VSIX. You do not even have to add `dankeboy36.vscode-arduino-api` to the `extensionDependencies`. I might publish the VSIX later when it works in VS Code. By the way, the VSIX is signed by a verified publisher. You can get the latest version from the GitHub [release page](https://github.com/dankeboy36/vscode-arduino-api/releases/latest).
97
-
98
-
---
99
-
100
95
- Q: Are there any dependent examples?
101
96
- A: Yes, for example, [dankeboy36/esp-exception-decoder](https://github.com/dankeboy36/esp-exception-decoder).
0 commit comments