Skip to content

@export script variables do not display tooltips when they are in built in script of node. #94338

Closed
@wyattbiker

Description

@wyattbiker

Tested versions

v4.3.beta2.official [b75f048]

System information

Linux Kubuntu 23.04 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8

Issue description

@export variable tooltips will not display if the script they are in is internal to a node.
image

Steps to reproduce

Create a new 2D scene e.g. Control
Create a built-in/internal script for Control.

Add the following code and save:

extends Control

## Here should be a tooltip
@export var maximum_speed:int=100

After save click in the inspetor variable and hover over maximum_speed. Notice no tooltip shows up.

Minimal reproduction project (MRP)

n/a

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions