Improve Auto Complete Performance

This commit is contained in:
NeeEoo
2024-04-13 18:32:13 +02:00
parent 1e55d0200b
commit f6402ac638
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@ class ClassExtendMacro {
public static function init() {
#if !display
#if CUSTOM_CLASSES
if(Context.defined("display")) return;
for(apply in Config.ALLOWED_CUSTOM_CLASSES) {
Compiler.addGlobalMetadata(apply, "@:build(hscript.macros.ClassExtendMacro.build())");
}
+1
View File
@@ -13,6 +13,7 @@ using StringTools;
class UsingHandler {
public static function init() {
#if !display
if(Context.defined("display")) return;
for(apply in Config.ALLOWED_ABSTRACT_AND_ENUM) {
Compiler.addGlobalMetadata(apply, '@:build(hscript.macros.UsingHandler.build())');
}