how to open multiple window on arduino ide 2.0.1, i already uninstall and reinstall but still the same only 1 window opened. thank you
Hi @donimart . Please tell me exactly what you are doing to try to open multiple windows.
i try to open several sketch from different folder but only 1 window showed
i noticed something strange when i open 1 sketch this happen
That is still a very vague description, but I'll just go ahead and assume you are opening sketches via file association. There is a known bug in Arduino IDE 2.0.1 that causes subsequent sketches you attempt to open via file association to not open:
opened 03:55AM - 28 Oct 22 UTC
closed 10:27AM - 10 Nov 22 UTC
conclusion: resolved
topic: code
type: imperfection
### Describe the problem
In addition to opening them via the Arduino IDE GUI,… sketches can be opened directly either via file association or by passing their path to the IDE command line invocation.
🐛 This only works once per IDE session. After that, attempting to open additional sketches in this manner has no effect.
### To reproduce
1. Select **File > Quit** from the Arduino IDE menus if it is running.
1. Open a sketch via file association or command line argument:
```text
& ".\Arduino IDE" "C:\Users\per\Documents\Arduino\Foo"
```
🙂 The IDE starts up with the specified sketch open, as expected.
1. Open a different sketch via file association or command line argument:
```text
& ".\Arduino IDE" "C:\Users\per\Documents\Arduino\Bar"
```
🐛 The command exits immediately with no effect. The specified sketch is not opened in an IDE window.
### Expected behavior
Additional sketches can be opened via file association or command line argument when the IDE is already running.
### Arduino IDE version
2.0.1
### Operating system
- Windows
- Linux
### Operating system version
- Windows 10
- Ubuntu 20.04
### Additional context
I bisected the regression to 2b2463b / https://github.com/arduino/arduino-ide/pull/1563
---
Originally reported at https://forum.arduino.cc/t/arduino-ide-2-0-1-is-now-available/1046764/7
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://github.com/arduino/arduino-ide#nightly-builds)
- [X] My report contains all necessary details
The IDE developers have already prepared a fix, so this will be resolved soon. Until then, the workaround is to open sketches via the Arduino UI, using any of the available methods:
File > Open
File > Sketchbook
The "Sketchbook " view in the side panel
I don't notice anything out of the ordinary there.
1 Like
but i am able to open multiple sketch with arduino ide 1.8.10
Yes. The bug is specific to Arduino IDE 2.0.1.
usually i open several sketch directly from folder/file explorer not from the UI and ok with 1.8.10
ptillisch:
File > Open
File > Sketchbook
The "Sketchbook " view in the side panel
and works to open from UI v 2.0.1. but i prefer to open from file explorer. thank you
OK, then you will need to use a version of the IDE prior to 2.0.1 until the bug is fixed.
If you have a GitHub account, you can subscribe to the issue I linked above to get a notifications when it is fixed. The day after that, the fix will be in the Arduino IDE nightly build:
https://www.arduino.cc/en/software#nightly-builds
1 Like
system
Closed
May 7, 2023, 6:36pm
10
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.