Ah that makes sense, but that update sounds very nice.
One last thing, not sure if it’s just me but it seems like struct auto completion is broken in the current version (compiled 12 mars 2023). At least I think it worked in earlier versions?
Auto-completion for structs works if
It’s a local variable, which is handled by the (smarter, slower) linter instead of project-wide indexer
It’s a new ConstructorName
, inside of which you’ve set your variables
You’ve specified the type yourself via
/// @hint {int} ImportantStruct:x
/// @hint {int} ImportantStruct:y
t = { /// @is {ImportantStruct}
x: 1,
y: 2
}