I believe this feature would yield another "WOW" experience, and I have a feeling it might be quite easy to implement.
I hope you like the idea as much as I do :)
In C++ you often use enum types. Consider this example:enum PeriodType
{
periodAlways,
periodLastWeek,
periodPastMonth,
periodPastYear,
periodSpecifyDates
};
void SetPeriod(PeriodType periodType);
void SetPeriodEx(PeriodType periodType, bool update);
It would be nice if VAX could show a list of available constants (similar to the variable completion), when declaring a function call:
SetPeriod(|
SetPeriodEx(|, false)
...or initiating a variable:
PeriodType p = |
PeriodType p2(|
p2 = |
...or in a class initialization:
CMyClass::CMyClass()
: m_periodType(|
Taking care of all relevant operators, such as "+", "OR" and "AND", is also desirable:
p2 = p | |
p2 = p | (periodMask & |)
p2 &= ~|;
Basically, whereever the enum type is expected you would show a list of available constants!
Also, <Ctrl+Space> should explicitly show this list (in case you press <Esc>).