Closed as not planned
Closed as 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 tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details