-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
ScriptEditor: Show name of currently open script in top bar #5461
Comments
Related to #512? This one places the script name in the status bar instead. But it is basically the same feature. |
I believe it might've been suggested separately from my proposal (though I can't find anything at the moment). But yes, the top bar is rather crowded, especially on lower resolutions, so this placement might not be the best. |
@YuriSizov The post is towards the end of #512. I think we should try if things get squeezed at low widths. If it happens there are a number of ways we could deal with it, you could just hide the file name at very low widths, you could shorten it "T..." and show the full name when hovered, you could take space away from other elements e.g. "Online Docs" and "Search Help" could be shortened or elements could get collapsed. But we'd have to test if this is even an issue. IMHO the best alternative would be to redesign the side bar with the scripts to actually make it look like vertical tabs. |
Also related with #3697 |
This would solve a glaring problem: there is currently no way to see what script you have open if you close the script list. The only way to see which script is open is to see what is highlighted in the script list. |
related plugin: https://github.com/rainlizard/ScriptNameOnTop |
I'd make the path display the full
I wouldn't remove labels for existing icons, as unlabeled icons are known to be a UX antipattern. They should be reserved for purposes where there's really no alternative (e.g. in Tree).
You can open a PR for this, but like any other PR, we can't guarantee it'll be merged. |
So how about renaming them to something shorter, like e.g. Docs and Help? |
Describe the project you are working on
GDScript Programming
Describe the problem or limitation you are having in your project
It is harder to see what script I have currently open than it needs to be. My eyes tend to wander to the scenes tabs which is a result of insufficient visual hierarchy.
Here I have some unrelated script open and a Debug scene and it looks like I have a Debug script open. That the script is highlighted in the side panel is not good enough for various reasons including:
Overall it is just too unclear that this is primary information.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Add the name of the script in the center of the top bar.
Make it visually distinct. I suggest:
It could also be used as a button for a drop down. This could e.g. be used to select from a list of recently used scripts and pinned scripts.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
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?
yes
The text was updated successfully, but these errors were encountered: