Is there a way to see what macros expand to on VS code?

I think the question is self explanatory. As a C developer, lots of times I rely on the IDE's ability to expand macros to see what they actually stand for.

Is there such a thing for Rust yet?

Don't know about VS Code, but there is cargo expand on the command line.

3 Likes