Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Evaluate Macro" code action #12941

Open
beyarkay opened this issue Nov 7, 2024 · 0 comments
Open

"Evaluate Macro" code action #12941

beyarkay opened this issue Nov 7, 2024 · 0 comments

Comments

@beyarkay
Copy link

beyarkay commented Nov 7, 2024

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 use FOO, hovering over FOO would show both (1+2) and 3.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants