godot icon indicating copy to clipboard operation
godot copied to clipboard

Autocomplete of enum values inside Dictionary not working

Open tokengamedev opened this issue 2 years ago • 4 comments

Godot version

4.1.beta.3

System information

Windows 11

Issue description

Autocomplete for Enum values not listing inside dictionary context but listing values outside dictionary context.

Failing here: image

Working here: image

Note this also fails within the method itself also

Steps to reproduce

Create an Enum with name in a scripte.g.,

enum Items{ A, B, C}

Create a dictionary:

var dict = {
}

Try typing the Enum as the key of the dictionary

var dict = {
Items.
}

Minimal reproduction project

N.A

tokengamedev avatar Jun 23 '23 08:06 tokengamedev

Additional Info: If you start typing or press ctrl + space the values comes up.

tokengamedev avatar Jun 23 '23 09:06 tokengamedev

#37061 describes the same problems for 3.x. (Not saying this one should be closed, just to link them.)

HolonProduction avatar Nov 21 '23 22:11 HolonProduction

I think it will be fixed in 4.4 or future releases as Godot team is aware of it, so closing the issue

tokengamedev avatar Oct 02 '24 09:10 tokengamedev

Keeping this open until it's fixed

AThousandShips avatar Oct 02 '24 09:10 AThousandShips