Merge pull request #102186 from HolonProduction/completion-builtin-enum

Improve GDScript editor support for global enums
This commit is contained in:
Thaddeus Crews 2025-07-03 12:21:19 -05:00
commit 77b680244d
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
14 changed files with 120 additions and 9 deletions

View file

@ -0,0 +1,9 @@
[output]
include=[
{"display": "DrawMode",
"location": 256},
{"display": "Anchor",
"location": 257},
{"display": "TextureRepeat",
"location": 258},
]

View file

@ -0,0 +1,4 @@
extends Control
func _ready():
var t: BaseButton.

View file

@ -0,0 +1,6 @@
[output]
include=[
{"display": "Key"},
{"display": "KeyLocation"},
{"display": "Error"},
]

View file

@ -0,0 +1,5 @@
extends Object
func test():
var t = Ke
pass

View file

@ -0,0 +1,6 @@
[output]
exclude=[
{"display": "Key"},
{"display": "KeyLocation"},
{"display": "Error"},
]

View file

@ -0,0 +1 @@
extends Ke

View file

@ -0,0 +1,6 @@
[output]
include=[
{"display": "Key"},
{"display": "KeyLocation"},
{"display": "Error"},
]

View file

@ -0,0 +1,5 @@
extends Control
func _ready():
var t: Ke
pass

View file

@ -0,0 +1,5 @@
[output]
include=[
{"display": "KEY_A"},
{"display": "KEY_B"},
]

View file

@ -0,0 +1,5 @@
extends Control
func test():
Key.
pass