Skip to content
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

Implement splitting the script editor into multiple floating windows for different scripts #984

Open
cumminsd opened this issue May 31, 2020 · 7 comments

Comments

@cumminsd
Copy link

Describe the project you are working on:
Mobile game. Plays similar to the many "candy crush" type games.

Describe the problem or limitation you are having in your project:
I am a software engineer by trade and spend a lot of time in IDE's like IntelliJ and VS Code. One thing I miss terribly when in Godot is the ability to view and work on multiple scripts at the same time.

Describe the feature / enhancement and how it helps to overcome the problem or limitation:
I have a 43" monitor so the issue is magnified, but even smaller monitors have the same affect. When you have to bounce back and forth between scripts (especially when working on interactions between classes or unit tests and code, there is a mental "context switch" that happens. Having to search out a tab or button, change the screen, look at something then switch back, it becomes tedious. The ability to have multiple scripts on the screen eliminates this context switch. It is also handy when you have a large file, being able to have one section of the script open in one window and another part in the other.

Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
My vote would be to do it like VS Code. Being able to open tabs any any quadrant, below, to the right, etc. I typically prefer left and right but occasionally open a two smaller code pages vertically, and place them next to a larger file.

If this enhancement will not be used often, can it be worked around with a few lines of script?:
No

Is there a reason why this should be core and not an add-on in the asset library?:
Not sure it's possible.

@nobuyukinyuu
Copy link

Multiple windows will be supported in Godot 4.0! It would definitely be nice if tabs can be arranged the same way browsers do, in windowed groups however the user sees fit.

@Calinou

This comment was marked as outdated.

@moritz-mg
Copy link

Doesn't really seem like 4.0 supports multiple windowsy yet. :( They aren't even real "tabs".

@Nedyrc

This comment was marked as off-topic.

@SamDevelopsCode
Copy link

SamDevelopsCode commented Apr 15, 2024

Duplicate of #28 and #414.

I read through all 3 issues and I have to say, they don't seem like duplicates. #28 and #414 are about making a multi-monitor setup while this issue is about viewing 2+ scripts at once such as in other IDE's. 2 related but separate issues. Seeing as how this is closed should I just make a new issue?

I have done some searching but had trouble finding any related to this issue.

Viewing 2 scripts at once is a proposal I would love to see. Whats the best course of action in a situation like this? Make a new proposal (this one is closed) or is this comment enough?

I am always trying to learn more about larger projects and the proper workflow for github. I don't want to clog it up more than necessary.

@Calinou Calinou reopened this Apr 15, 2024
@Calinou Calinou removed the archived label Apr 15, 2024
@Calinou Calinou changed the title Multiple windows/tabs for viewing scripts (similar to VS Code) Implement splitting the script editor into multiple floating windows for different scripts Apr 15, 2024
@SamDevelopsCode
Copy link

It would be cool to also be able to view multiple scripts within the engine (not floating), as well as multiple floating ones depending on user preference.

Examples:

In-Engine(non-floating):
nonfloating

Floating:
floating

@Kartopod
Copy link

Kartopod commented Feb 13, 2025

I would love to see this feature too. The fact that you can split the script editor to it's own window but not multiple windows is very odd.

To add on, very often I want to look at multiple documentation pages at once. If this feature is implemented, this would be a bonus that we get for free. I suggest that using F1 search window should open the documentation page in the most recently focused script window, and control clicking on symbols should open the docs in the same window.

Edit:
Additionally, it would be great if you could middle mouse click links in the documentation and have them open in a new window. I often want to look through multiple docs pages at once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants