Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

expand macros in preview

See original GitHub issue

add the expanded version of a macro to macro preview window e.g.

#define MIN(_x, _y) (((_x) < (_y)) ? (_x) : (_y))


   currently the macro preview window just shows the macro definition.
   instead of the definition it could expand to show the definition and
   the expanded macro in preview window. in this case:

      MIN(_x, _y) (((_x) < (_y)) ? (_x) : (_y))
      (((3) < (4)) ? (3) : (4)) 
z = MIN(3, 4); 

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:6
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

daiyousei-qzcommented, Jun 4, 2022
zoumicommented, Apr 21, 2022

Can we have expansion information in Hover window? image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Macro Expansion Preview window is too small.
When I hover a mouse on a macro function in VS2019, I can see a Macro Expansions and a Macros definitions which is...
Read more >
c preprocessor - Seeing expanded C macros - Stack Overflow
I want to just see it somehow expanded automagically, instead of searching for every macro, every step of the way. UPDATE. I tried...
Read more >
Solved: How to expand macros in a Splunk search?
New in 6.6, there is now a keystroke to expand macros in the search window! Click inside your search and press cmd-shift-E (on...
Read more >
2.1.7. Macro Expansion
Just hover cursor on the Macro. See the full expansion of the Macro. Full expansion of the NEEDBITS macro. If this is an...
Read more >
What happened to the 'expand macro' option?
It never went anywhere :) You can expand a macro via the "Substitute macro call" context action. As with other context actions, you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found