When function names are too long it's impossible to see
Status: Beta
Brought to you by:
weidendo
When there are lot of templated class names from
complex C++ program it's hard, sometimes impossible to
see them.
Right now the only way to see them -- in "tool tip"
appearing when mouse is stopped over.
But if it's so long that doesn't fit even in "tool tip"
-- it's no way to see it at all.
Solution -- have tool tips displaying multi-line names.
This is a must to work with kcachegrind in such situation.
Note that long templated names is not a curiosity but
actually quite natural under generic programming approach.
Yuri
Logged In: YES
user_id=484759
Alternatively a list of prefix-substitutions would help
shorten the class/function names. For example one could
define a substitution list like:
MY_HUGE_NAMESPACE -> MINE
UNIVERSTITY_XYZ:MathClass:Matrix -> UMatrix
or even skip whole prefixes by defining an empty
substitution string.
Implementation-wize a dictionary with names as they appear
right now on the widgets and the substituted names could be
created (simple map would suffice). When user
changes/disables/enables substitution only the dictionary
needs to be refreshed.
Also all code that writes function names to any of the
widgets needs to be adjusted to use the substitution map
now instead of directly using the name.
Well, it's just an idea...
Andreas