devuxd / ProgrammingStrategies

A repository of strategies for programming
http://programmingstrategies.org
1 stars 0 forks source link

Associate variable names in strategy with variable names and values in right panel #37

Open tlatoza opened 6 years ago

tlatoza commented 6 years ago

It can be confusing to the user to understand what variables are. We could more clearly signal their meaning by more tightly linking the variable identifiers in strategies with the variable value panes at right. For example, hovering over a variable identifier in a strategy might highlight the corresponding variable identifier and value in the right pane. At an implementation level, this might be as simple as just wrapping each variable identifier in a span (e.g., ) and then toggling a highlight class for the corresponding variable in the variables display.