Skip to content

Add tooltip to 2D, 3D, Script, AssetLib buttons that shows keyboard shortcut (Ctrl+F1, F2, F3, F4) #6266

@allenwp

Description

@allenwp

Describe the project you are working on

Any Godot project that uses more than one of the 2D, 3D, or Script editor workspaces.

Describe the problem or limitation you are having in your project

As a new user I learned that I could discover keyboard shortcuts by viewing the tooltip of buttons shown in the editor. For example, if I hover over the Add Child Node button, the tooltip helpfully teaches me that the keyboard shortcut for this action is "Ctrl+A":
image

But when I hovered over the 2D, 3D, Script, and AssetLib buttons, I found that there was no tooltip to teach me what the keyboard shortcut was:
image

This is a minor issue because I was able to discover the keyboard shortcut by searching the keyboard shortcuts in the Editor Settings.

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

Add tooltips that show keyboard shorctuts to the 2D, 3D, Script, and AssetLib buttons. This will help new users learn these keyboard shortcuts more easily.

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

The proposed tooltips could look something like this:

image

Tooltip text could read:

  • Open 2D Workspace (Ctrl+F1)
  • Open 3D Workspace (Ctrl+F2)
  • Open Script Editor (Ctrl+F3)
  • Open Asset Library (Ctrl+F4)

I'm not sure what the keyboard shortcut is for the new Game workspace, but its tooltip could read "Open Game Workspace".

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

N/A

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

This is a usability improvement to existing core functionality.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions