News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Show value of defines with mouse over in editor

Started by mariocup, July 27, 2007, 11:28:37 PM

Previous topic - Next topic

mariocup

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.