This repository was archived by the owner on Oct 1, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR ships platform specific copies of arduino-cli version 0.29.0 with the extension and updates the Arduino path resolution logic to resolve to the bundled copy if
arduino.useArduinoCli
istrue
andarduino.path
andarduino.commandPath
are unset. It also adds two notifications to guide users towards using the bundled arduino-cli.First, if the Arduino path specified in the settings can't be resolved, this notification appears when running commands.
Second, if
arduino.useArduinoCli
isfalse
, this notification appears even if the configuration is a valid usage of Arduino IDE.This notification is intentionally annoying with slightly aggressive wording because we'd like to stop supporting Arduino IDE. There's no way to permanently dismiss this notification without moving to arduino-cli.
Unfortunately, the second notification will appear even on first use of new installations, because
arduino.useArduinoCli
still defaults tofalse
. We're stuck with this behavior because if we change the default value ofarduino.useArduinoCli
in this release, we'll end up breaking workflows that are intentionally using Arduino IDE but rely on the current default value.