Skip to content

Use monospaced font for code names (methods, signals, properties) in editor #13514

@Meorge

Description

@Meorge

Describe the project you are working on

Various projects and Godot itself

Describe the problem or limitation you are having in your project

Currently, the signal names in the Godot editor are written with the standard editor sans-serif font. This looks a bit strange, since the signal names themselves are in snake_case and otherwise reflect code, which is usually displayed in a monospaced font:

Image

This is also the case for the "Edit Connection" dialog, and many other places in the editor where code names are referenced.

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

Display the signal and function names in the editor with a monospaced font to reflect their close connection to actual code.

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

Image Image

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

It cannot be worked around with a few lines of script as far as I know. It might be possible with a disproportionate amount of addon code, but since this is just a minor visual improvement, it wouldn't make sense to do this as an addon.

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

See above.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions