Examples Project - available examples change for each IDE instance

In my instance, example projects showed both "Built-in Examples" and "Examples for Arduino MKR WAN1310"

However, when I selected an example, a second IDE opened as expected. Now, on that IDE, only "Built-in Examples" was available. I opened another IDE by selecting an example and again the examples available changed.

On the whole, it certainly appears there are marked improvements in this IDE besides the Beta issues still present. Well done guys, it's looking to be very useful.

IDE-examples.png

IDE-examples.png

Which board have you got selected in the second instance ?

There was no board selected. Now that I've selected a MKR WAN 1310, it seems the examples show up. Maybe that is the issue - I incorrectly thought that the examples will show irrespective of a board being selected or not!

If possible, I'd prefer for examples to be available irrespective of whether a board is selected or not. Perhaps there is a good reason why it's not the case. Maybe this can be an IDE configuration setting?

I incorrectly thought that the examples will show irrespective of a board being selected or not!

The same goes for the classic IDE where only examples pertinent to the selected board are offered for selection

UKHeliBob:
The same goes for the classic IDE where only examples pertinent to the selected board are offered for selection

Does the classic IDE not remember what the current board selected is? Then, opening a second IDE will use that same board selection? From what I can see on the classic IDE, that opening a new IDE will use the last selected board.
It would be nice to keep that option or at least have it available in the IDE configuration.

The classic IDE does remember. I think this behavior will be restored in Arduino IDE 2.x soon. The bug report for it is here:

It was submitted by the Arduino IDE 2.x lead developer Akos Kitta, so this is definitely something on the minds of the development team.

Kudos to the guys developing the new IDE. It's young, has issues, however, the improvements to the original are great. :smiley:

I'm very glad to hear you like it!

Does the classic IDE not remember what the current board selected is? Then, opening a second IDE will use that same board selection?

Yes it does and I hope that it will be fixed in the new IDE, but I was responding to the observation that only the standard examples were available when opening a new instance, which is a side effect of it not inheriting the board type

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.

Library examples are now shown in the File > Examples menu when no board is selected:

And that condition is also now less likely to occur due to the IDE remembering the previously selected board: