I have downloaded one of my own libraries in ZIP format from my GitHub page, and used "Install ZIP library" from within the Arduino 2 IDE. Why do I then have to shut down and restart the IDE so that the library can be seen? The IDE 1.8+ doesn't require that.
Hi @TWRackers . Thanks for taking the time to give the Arduino IDE 2.0.0 release candidate a try!
This bug is tracked by the Arduino IDE developers here:
opened 07:56AM - 02 Dec 21 UTC
closed 08:23AM - 11 Jan 23 UTC
conclusion: resolved
topic: code
type: imperfection
## Describe the bug
π After installing a library via **Sketch > Include Libraβ¦ ry > Add .ZIP Library...**", the library does not appear in the "**File > Examples**" and "**Sketch > Include Library**" menus until after the IDE is restarted.
## To Reproduce
1. Obtain an library in suitable `.zip` format which is not already installed on your computer: https://github.com/arduino-libraries/ArduinoMDNS/archive/refs/heads/master.zip
1. Select **Sketch > Include Library > Add .ZIP Library...** from the Arduino IDE menus.
1. Select the library `.zip` (`ArduinoMDNS-master.zip`).
1. Click the <kbd>Open</kbd> button.
1. Select **File > Examples** from the Arduino IDE menus.
π Note that the expected "**ArduinoMDNS**" submenu item is not present.
1. Select **Sketch > Include Library** from the Arduino IDE menus.
π Note that the expected "**ArduinoMDNS**" submenu item is not present.
1. Select **File > Quit** from the Arduino IDE menus.
1. Start the Arduino IDE.
1. Select **File > Examples** from the Arduino IDE menus.
π Note that the expected "**ArduinoMDNS**" submenu item is now present.
1. Select **Sketch > Include Library** from the Arduino IDE menus.
π Note that the expected "**ArduinoMDNS**" submenu item is now present.
## Expected behavior
Dependent menus are refreshed after `.zip` library install
## Desktop
- OS: Windows 10
- Version: 2.0.0-rc1-snapshot.f0d9894
Date: 2021-11-30T16:25:41.414Z
CLI Version: 0.20.1 [abb21449]
## Additional context
These menus are updated after `.zip` library installation in the classic Arduino IDE.
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.
system
Closed
November 3, 2022, 5:04am
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.