Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What happened to the "Open Recent" menu option #1539

Closed
3 tasks done
Gerriko opened this issue Oct 6, 2022 · 3 comments
Closed
3 tasks done

What happened to the "Open Recent" menu option #1539

Gerriko opened this issue Oct 6, 2022 · 3 comments
Assignees
Labels
conclusion: invalid Issue/PR not valid topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@Gerriko
Copy link

Gerriko commented Oct 6, 2022

Describe the request

I have grown very used to relying on the "Open Recent" menu option in Arduino 1.8.x over many years.
I searched preferences in case it was an option but I could not see any option there.
Please can you add it to Arduino 2.x. It is sorely missed.

Describe the current behavior

There is only the "Open..." file menu option in Arduino 2.0. This does not provide you with a list of previous sketches opened.

Arduino IDE version

Version 2.0.0

Operating system

Linux

Operating system version

20.04

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details
@Gerriko Gerriko added the type: enhancement Proposed improvement label Oct 6, 2022
@per1234
Copy link
Contributor

per1234 commented Oct 6, 2022

Hi @Gerriko. Arduino IDE 2.x does have a File > Open Recent menu:

image

The design of the Arduino IDE 2.x menus is a bit different than Arduino IDE 1.x in that submenu items are omitted if they are empty. So if you don't have any recent sketches, then it is expected that the menu item will be missing. But it is expected to be present and populated if you have opened a non-temporary sketch.

In regards to the "temporary sketch" caveat, you should be aware that, unlike Arduino IDE 1.x, Arduino IDE 2.x opens example sketches as temporary sketches, meaning that example sketches are not currently listed in the Open Recent menu. So if you have only opened examples and other temporary sketches, then it is expected that the menu item will not be present. There is work in progress now to change that for examples: #1376

Please try this:

  1. Select File > New from the Arduino IDE menus.
  2. Select File > Save As... from the Arduino IDE menus.
  3. Save the sketch to any convenient location.
  4. Open the File menu.

Do you now see an Open Recent item in the menu?

@per1234 per1234 self-assigned this Oct 6, 2022
@per1234 per1234 added the status: waiting for information More information must be provided before work can proceed label Oct 6, 2022
@Gerriko
Copy link
Author

Gerriko commented Oct 6, 2022

Aha, ok. I see it now. Thanks for this.
So there is still a subtle difference.
With Arduino 1.8.x, it would also list Example files that had been previously opened even if not saved into a different folder. This I like to have too but maybe this is an option for a user to select under preferences.

@per1234
Copy link
Contributor

per1234 commented Oct 6, 2022

You are welcome. Thanks for taking the time to share your findings.

This I like to have too but maybe this is an option for a user to select under preferences.

There isn't one at the moment. I don't think there is any plan to control it via a preference. It will simply work the same as it does in Arduino IDE 1.x, where the examples are always added to the menu.

Since we were able to determine that the "Open Recent" menu is working for non-temporary sketches, and since we already have an issue tracking the need to also add example sketches to the menu (#935), I will go ahead and close this.

Regards,
Per

@per1234 per1234 added conclusion: invalid Issue/PR not valid topic: code Related to content of the project itself and removed status: waiting for information More information must be provided before work can proceed labels Oct 6, 2022
@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: invalid Issue/PR not valid topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants