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

Add an editor setting that opens the associated scene file with each script #9180

Open
Firebrand opened this issue Feb 26, 2024 · 2 comments

Comments

@Firebrand
Copy link

Describe the project you are working on

Any type of project

Describe the problem or limitation you are having in your project

It's very disorienting when I have a script open in the script editor while the scene in the scene editor is completely different

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

It would give users the option of having their script editor and scene editor always in sync

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

Whenever you open a .gd file in the script editor, the system looks for a similarly named .tscn file and loads that up in the scene editor. (go by filename in case the script is attached to more than one scene)

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?

It should be a core editor setting. Also, from the forums and discord channel, the off-putting way in which the scene editor and script editor interact seems to be a very hot topic

@Calinou Calinou changed the title Editor setting that opens .tscn along with .gd Add an editor setting that opens the associated scene file with each script Feb 26, 2024
@Calinou
Copy link
Member

Calinou commented Feb 26, 2024

Also, from the forums and discord channel, the off-putting way in which the scene editor and script editor interact seems to be a very hot topic

If anything, it seems the most popular option would be to reduce the association between the scene and script editor, rather than increasing it.

@Firebrand
Copy link
Author

Firebrand commented Feb 27, 2024

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

2 participants