Would it be possible to display the value of a variable when the mouse is moved over it?
No. The IDE doesn't have ANY ability to read the values of variables in a running sketch. Most of the time, most variables don't even exist.
Correct. I am talking at coding time with no processor connected. Or debugging - learning code you are not familiar with. I understand there is no run-time ability.
Say you have at code line 20, const int hoursinweek = 1234. Note variable could be some ambiguous name.
Say you have at code line 320, for (int i = 1; i <= hoursinweek; i++)
Now when the mouse x,y, moves over hoursinweek the window says "line 20 int hoursinweek = 1234".
I think I ran into this feature back with VB6. It was awesome when going threw someone else code.
I think there is a jewel here. If my communication skills are lacking i can wright it up in-depth if someone is interested.