Skip to content

Commit 189a6f2

Browse files
Merge branch 'main' into 180-board-selection
2 parents afb3ef7 + 75e00c2 commit 189a6f2

16 files changed

+601
-277
lines changed

arduino-ide-extension/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ The Config Service knows about your system, like for example the default sketch
6262
- Some CLI updates can bring changes to the gRPC interfaces, as the API might change. gRPC interfaces can be updated running the command
6363
`yarn --cwd arduino-ide-extension generate-protocol`
6464

65+
### Update **clangd** and **ClangFormat**
66+
67+
The [**clangd** C++ language server](https://clangd.llvm.org/) and the [**ClangFormat** code formatter](https://clang.llvm.org/docs/ClangFormat.html) tool dependencies are managed in parallel. Updating them to a different version is done by the following procedure:
68+
69+
1. If the target version is not already [available from the `arduino/clang-static-binaries` repository](https://github.com/arduino/clang-static-binaries/releases), submit [an issue there](https://github.com/arduino/clang-static-binaries/issues) requesting a build and wait for that to be completed.
70+
1. Validate the **ClangFormat** configuration for the target version by following the instructions [**here**](https://github.com/arduino/tooling-project-assets/tree/main/other/clang-format-configuration#clangformat-version-updates)
71+
1. Submit a pull request in the `arduino/arduino-ide` repository to update the version in the `arduino.clangd.version` key of [`package.json`](package.json).
72+
1. Submit a pull request in [the `arduino/tooling-project-assets` repository](https://github.com/arduino/tooling-project-assets) to update the version in the `vars.DEFAULT_CLANG_FORMAT_VERSION` field of [`Taskfile.yml`](https://github.com/arduino/tooling-project-assets/blob/main/Taskfile.yml).
73+
6574
### Customize Icons
6675
ArduinoIde uses a customized version of FontAwesome.
6776
In order to update/replace icons follow the following steps:

arduino-ide-extension/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,11 @@
160160
],
161161
"arduino": {
162162
"cli": {
163-
"version": "0.26.0-rc.1"
163+
"version": {
164+
"owner": "arduino",
165+
"repo": "arduino-cli",
166+
"commitish": "test_1"
167+
}
164168
},
165169
"fwuploader": {
166170
"version": "2.2.0"

arduino-ide-extension/src/browser/contributions/burn-bootloader.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export class BurnBootloader extends CoreServiceContribution {
2929
}
3030

3131
private async burnBootloader(): Promise<void> {
32+
this.clearVisibleNotification();
3233
const options = await this.options();
3334
try {
3435
await this.doWithProgress({

0 commit comments

Comments
 (0)