My 2 cents on this topic, while having multiple
CurrentValue's in this list and highlighting the matching scope with coloring/bold is a nice UX consistent with the current webapp, I believe that an explicit solution is required - certainly at the server API level.
So why not just focus on that first, and roll it out to the UI level as well as a first pass?
So something like
:CurrentValue or some other “escaping” character (like
... for file systems) to refer to the outer scope(s), as mentioned earlier as a possible solution.
I don’t see how to get around the need for explicit syntax - the other solutions are just syntactic/visual sugar to layer on top of this.