Skip to content

Allow opening example sketches in same window #1079

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
boundmaidlea opened this issue Jun 19, 2022 · 5 comments
Closed
3 tasks done

Allow opening example sketches in same window #1079

boundmaidlea opened this issue Jun 19, 2022 · 5 comments
Assignees
Labels
conclusion: declined Will not be worked on topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@boundmaidlea
Copy link

boundmaidlea commented Jun 19, 2022

Describe the request

When intending to open one of the examples or another previous project's file to take reference, it would be great if it is possible to do so in the same window to use split screen view. To prevent issues with different project configuration/etc. such files could be made read-only.

Describe the current behavior

Currently each opened example and all files opened through the file>"open" option open an entirely new instance of the IDE.

Arduino IDE version

2.0.0-rc7-nightly-20220615

Operating system

Windows

Operating system version

10.0.19044.1706 Pro

Additional context

My Nightly Build is 4 days old, but the 3 commits since then do not have any relations to this feature.

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
@boundmaidlea boundmaidlea added the type: enhancement Proposed improvement label Jun 19, 2022
@boundmaidlea
Copy link
Author

Seems to be related to #114

@per1234
Copy link
Contributor

per1234 commented Jun 23, 2022

Thanks for your request @boundmaidlea. The Arduino IDE is intentionally designed to only allow a single sketch to be opened in each window. The reason is that a sketch may consist of multiple files, which are all compiled as a single program. It is important to intuitively communicate that fact to the users, which would no longer happen if they had multiple sketches open in the same window.

I don't think the requirement of having multiple Arduino IDE windows is onerous.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 23, 2022
@per1234 per1234 added conclusion: declined Will not be worked on topic: code Related to content of the project itself labels Jun 23, 2022
@per1234 per1234 self-assigned this Jun 23, 2022
@boundmaidlea
Copy link
Author

boundmaidlea commented Jun 23, 2022

It is important to intuitively communicate that fact to the users

I do understand that, that is another reason why i meant it would make sense to open them in read-only mode.
I can hardly see new users being confused, if allowing this requires to switch a setting first
Further i could see a special coloured border/etc. being used, and there could be a message in a breadcrumbs bar-like notification at the top of the view.

The app could also still open outside files in a new instance, but being able to drag&drop a tab into another instance would already be a great improvement in workflow for me, as that would already allow me to use split view

One of the other main issues with multiple instances for me is, that the performance is already bad enough with it running one time, and having it opened a second time actually starts to lag out my whole system after some time.

@boundmaidlea
Copy link
Author

boundmaidlea commented Jun 23, 2022

Oh i didn't even see the Editor split feature being removed until seeing #715 (comment) because i didn't even get that far, that's disappointing...

@djcarter
Copy link

djcarter commented Mar 7, 2023

I don't think the requirement of having multiple Arduino IDE windows is onerous.

You are wrong.

@arduino arduino locked as resolved and limited conversation to collaborators Mar 7, 2023
@per1234 per1234 changed the title Allow opening Examples in same window. Allow opening example sketches in same window Jun 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
conclusion: declined Will not be worked on topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants