Visual C++ 2010 provides a nice outlining feature.
For example,
bool CompareInId(const WAIT_EX &First, const WAIT_EX &Second)
{
SYMBINFO *pSiFir = *First.pSiList->begin();
SYMBINFO *pSiSec = *Second.pSiList->begin();
long InIdFir = (First.bTrade ? pSiFir->m_InId_T : pSiFir->m_InId_Q);
long InIdSec = (Second.bTrade ? pSiSec->m_InId_T : pSiSec->m_InId_Q);
ATLASSERT(InIdFir != InIdSec);
return (InIdFir < InIdSec);
}
is collapsed into
bool CompareInId(const WAIT_EX &First, const WAIT_EX &Second) { .... }
When mouse hovers over {...} part, a code hint window (white/black for background/foreground font) immediately shows up which displays all the hidden code text. This is also a nice feature, but one problem is that there is no way to make it not show up or set the minimum duration time before display it.
The code hint window ALWAYS and IMMEDIATELY, no matter what, shows up even if your mouse simply touch {...} or pass by quickly. This distracts me from concentrating on the main code.
Especially the hidden code is large amount, it hides all the main code window.
This is quite annoying and I don't need this hint code window most of time.
I want to have the following options for this feature:
- an option to disable completely code hint window
- or, an option to set the minimum duration time before the code hint window shows up (ex) 2 seconds
- or, an option to use double-click {...} area to display the code hint window
- and, one additional option to change the font and background colors for the code hint window
I searched the internet so hard, but couldn't find an answer.
FYI, setting 'Options/Text Editor/C++/Advanced/IntelliSense/Auto Quick Info' to 'false' was not the answer I needed.
Please let me know if you know a good solution for this issue.
thx
HaeRim Lee