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,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