It would be nice if there is already a locals block in the file that the variable gets added there. Even just putting it above the resource (data, etc.) like the extract variable currently does would be fine too.
To push things even further it would be nice the also have the ability to inline (opposite of extract) the variables (local or not) back where they came from.
Just like you can currently extract strings to variables, it would be nice to be able to extract them as local variables instead.
This:
Becomes:
It would be nice if there is already a
locals
block in the file that the variable gets added there. Even just putting it above the resource (data, etc.) like the extract variable currently does would be fine too.To push things even further it would be nice the also have the ability to inline (opposite of extract) the variables (local or not) back where they came from.