Not planned
Description
Describe the problem
When I open a sketch in IDE2 the main sketch file is not focused anymore. It used to work.
Working with Beta.12
:
focus_main_sketch_file.mp4
Broken with RC-7
:
focus_main_sketch_file_broken.mp4
To reproduce
- Have a sketch opened,
- Open
File
>Examples
>02.Digital
>toneKeyboard
, - When all sketch files are opened in the editor, not the main sketch file (
toneKeyboard.ino
) has the focus.
Expected behavior
When a sketch consists of multiple files, the main sketch file has the focus when opening the sketch.
Arduino IDE version
Version: 2.0.0-rc7 Date: 2022-06-09T08:19:19.877Z CLI Version: 0.23.0 [899dc91b] Copyright © 2022 Arduino SA
Operating system
macOS
Operating system version
12.3.1
Additional context
Breaking change 9863dc2#diff-abca14a02be77160a86d9f4fb6eca8c18d47312d2d4be37c50de50430bbbcd07L511 (#612)
Issue checklist
- I searched for previous reports in the issue trackerI verified the problem still occurs when using the latest nightly buildMy report contains all necessary details
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
per1234 commentedon Jun 10, 2022
Thanks for taking the time to submit an issue @kittaakos.
I see we have another report about this at #643.
It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.
If you end up with additional information to share, feel free to comment in the other thread.
KurtE commentedon Jun 10, 2022
Thanks, I was just checking to see if there was an open issue on this.