Timer syntax is not strict enough

we can’t check variables that are not declared. we can’t move objects that are not defined. we can’t assign to a layer that doesn’t exist. yet timers gives us the freedom to mess up the name (with no indication of a typo).

  • i get that its for dynamic naming (runtime stuff and all).
  • i get that the autocomplete shows already declared timers.

still, if you get a timer’s name wrong, you would never know.

there is a case to be made to at least show a red text warning when you use a timer that is non-existent, or when a timer is created but never used. (similar to rust: when you declare a variable but don’t use it, it shows warning)


in extension for example, there is no autocomplete:


what do you think? and how many of you guys use dynamic naming for your timers?

I think autocomplete being more global and warnings being available are great. Timers are required to be started before use, no reason why that event shouldn’t build out a list of autocomplete.

yea.

every time i use timers, it gives me anxiety cuz idk if i made a typo or smt

The issue seems to be autocomplete within extensions. Tweens inside extensions also don’t seem to have autocomplete.

I’m assuming it’s bc inside an extension it uses parameters and not objects. It’s more like a pointer or reference to an object and not a real object. Still, the autocomplete should work inside an extension.