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

Make "Open Dominant Script on Scene Change" disabled by default #8372

Closed
NatGazer opened this issue Nov 8, 2023 · 2 comments · Fixed by godotengine/godot#81906
Closed

Make "Open Dominant Script on Scene Change" disabled by default #8372

NatGazer opened this issue Nov 8, 2023 · 2 comments · Fixed by godotengine/godot#81906
Milestone

Comments

@NatGazer
Copy link

NatGazer commented Nov 8, 2023

Describe the project you are working on

3D and 2D particle simulator for physics showcase

Describe the problem or limitation you are having in your project

The only place I feel Godot looks unpolished is the Scripts List. What I personally felt when I started learning, was how messy the script list became after some time, new scripts are suddenly opened, with no apparent reason, and the script list starts growing bigger and chaotic.

Turns out that's because every time you select a new scene, in the scene tab, Godot opens the script of the topmost scene node. Fortunately, this can be disabled in Editor settings -> Text Editor -> Behavior ->Open Dominant Script On Scene Change, and after I discovered this, it became so much cleaner and pleasing to manage scripts.

Back in 2016, these gentlemen thought the same (godotengine/godot#3638):
image

My proposal is to make this option disabled by default or at least close the automatically opened scripts as proposed in the closed PR godotengine/godot#3638. This way there's no tendency of the Script List growing larger over time. I'm just thinking about new users experience!

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Make "Open Dominant Script on Scene Change" disabled by default

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Well, it might just be a simple boolean value change

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

It will be used often

Is there a reason why this should be core and not an add-on in the asset library?

It's a simple modification

@cesarizu
Copy link

cesarizu commented Feb 8, 2024

Maybe an option to have scripts as tabs would be great.

@AThousandShips
Copy link
Member

That was proposed previously in:

Off topic for this proposal

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

Successfully merging a pull request may close this issue.

4 participants