Skip to content

IDE2 used to focus the main sketch file when opening a sketch with multiple files #1037

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

Closed
3 tasks done
kittaakos opened this issue Jun 10, 2022 · 2 comments
Closed
3 tasks done
Assignees
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@kittaakos
Copy link
Contributor

kittaakos commented Jun 10, 2022

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
@kittaakos kittaakos added the type: imperfection Perceived defect in any part of project label Jun 10, 2022
@per1234
Copy link
Contributor

per1234 commented 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.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2022
@per1234 per1234 added conclusion: duplicate Has already been submitted topic: code Related to content of the project itself labels Jun 10, 2022
@per1234 per1234 self-assigned this Jun 10, 2022
@KurtE
Copy link

KurtE commented Jun 10, 2022

Thanks, I was just checking to see if there was an open issue on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants