https://bugs.kde.org/show_bug.cgi?id=369546

--- Comment #13 from RJVB <rjvber...@gmail.com> ---
I agree it makes sense not to expand in popups over invocations of a function,
but only when you trigger the popup over the function declaration (or
definition) itself. That is, when it is possible to show the actual macro.

Until that time a placeholder is fine, but why not just admit it stands for an
<Unknown Macro>? And as long as a placeholder is used it could be helpful to
show the value, if it's a number. I forgot to add this temporary aspect to my
previous remark about this. The popup is addressed at devs and I think most of
us will understand what 0, -1, 65535, 3.1415 or 2.718 (etc) stand for. 

===
As to showing popups with the expanded code: maybe this actually calls for
another kind of popup that will show what an expression containing macro(s)
expands to. As said, it can be cumbersome to hunt down the exact expansion,
esp. with nested macros or those that depend on conditional tokens that get set
automatically. Being able to expand a line of block of code in a popup (with
auto-formatting) sure beats having to generate the preprocessor output by hand
and then find the bit you're interested in.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to