1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Autocompletion: Add support for global enums

This commit is contained in:
HolonProduction
2025-01-30 12:41:51 +01:00
parent 019ab8745f
commit af54b13603
13 changed files with 106 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