Skip to content

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

Closed
godotengine/godot
#81906
@NatGazer

Description

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions