"Evaluate Macro" code action #12941
Labels
Feature: Hover (Quick Info)
An issue related to Hover (Quick Info)
Feature: Refactoring
Feature Request
Language Service
Feature Request
I've looked at #1734 and #4183 and they're both great, but I'd love to have an "evaluate" macro code action (or alternatively, to be able to view the evaluated macro in the tooltip).
So for example, if I've got
#define FOO (1+2)
and then later I useFOO
, hovering overFOO
would show both(1+2)
and3
.This feature would be really handy for me, at work we use a macro to create an error code that has the file and line number embedded in it, and being able to see the error code while stepping through the code would be a massive time saver.
The text was updated successfully, but these errors were encountered: