You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing a datapack, I tend to use a lot of temporary score inside a function which would never be used outside of it ever again. Pilling up those scores into the global list doesn't seem ideal since the score shouldn't be used outside of this function.
#define score_holder pos.x#define score_holder pos.y#define score_holder pos.z# Do some math with those scores...
So I would like a new #define syntax that will only suggest them within the function itself
When writing a datapack, I tend to use a lot of temporary score inside a function which would never be used outside of it ever again. Pilling up those scores into the global list doesn't seem ideal since the score shouldn't be used outside of this function.
So I would like a new #define syntax that will only suggest them within the function itself
Having a scoped suggestion also helps to remind you which score isn't supposed to be used outside of a function.
Note: You didn't enable issues labeling for a normal user so you have to label this one yourself.
The text was updated successfully, but these errors were encountered: