-
-
Notifications
You must be signed in to change notification settings - Fork 431
Rightmost tab is selected by default #643
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
Comments
This issue is also happening on Mac OS. When the Sketch is closed, the currently selected tab will be remembered, and it will be in focus at the next loading (see screenshots) |
Closes #643 Signed-off-by: Akos Kitta <[email protected]>
Closes #643 Signed-off-by: Akos Kitta <[email protected]>
Closes #643 Signed-off-by: Akos Kitta <[email protected]>
Closes #643 Signed-off-by: Akos Kitta <[email protected]>
Describe the bug
Arduino sketches may consist of multiple files, which are shown in the Arduino IDE as tabs when that sketch is open. The file with name matching the sketch name is always leftmost in the tabs. Since the
.ino
files are concatenated in order, the leftmost file is always the primary file.For this reason, the leftmost tab should be selected by default.
🐛 However, the IDE currently selects the rightmost by default. This results in a less friendly experience for beginners.
To Reproduce
MultipleFiles.ino
file from the unzipped sketch folder.🐛 Note that the second tab (
SomeTab.ino
) was selected.Expected behavior
Select the leftmost tab by default.
On subsequent opens of the sketch, it is fine to remember the previous tab selection.
Desktop
Date: 2021-11-30T16:25:41.414Z
CLI Version: 0.20.1 [abb21449]
Additional context
Although the multi-file sketch capability is often used for more advanced sketches, this is not always true. For example, File > Examples > 02.Digital > ToneMelody is an introductory level example sketch.
The text was updated successfully, but these errors were encountered: