Author Topic: Show value of defines with mouse over in editor  (Read 19355 times)

mariocup

  • Guest
Show value of defines with mouse over in editor
« on: July 27, 2007, 11:28:37 pm »
In embedded system defines are often used to set a bit mask or constant values.

#define MIN_VOLT 100

if (Voltage < MIN_VOLT)
...
or
MYFLAG= STATUS_VOLT | STATUS_TEMP;

It would be great if the features "display info when hovering the mouse over a token in the editor" would support the following features:

1) When hovering the mouse over a token (MIN_VOLT) then the value of the define is displayed.
2) The modifier of a token e.g. *my_str of static const char *my_str = "Hello world!"; dipslay the type and the modifier (instead of char * show static const char *) with mouse over.