@sean-mcmanus Could you please add a context-menu option (or even further - a shortcut) to expand macro in-place, right inside the code. This is currently available in Clion and I think it is very easy to implement. Just substitute the macro call with the string that is are currently appearing in Expands to: tooltip.
For example:
When you hover over FOO(ss) and click the RMB you'll see an item "Expand macro".
#define FOO(bar) foo##bar
int main() {
FOO(ss);
}
And after you click "Expand macro" you get the expanded version of the macro you clicked on in place where it was:
#define FOO(bar) foo##bar
int main() {
fooss;
}
Originally posted by @Veetaha in #1734 (comment)
@sean-mcmanus Could you please add a context-menu option (or even further - a shortcut) to expand macro in-place, right inside the code. This is currently available in Clion and I think it is very easy to implement. Just substitute the macro call with the string that is are currently appearing in
Expands to:tooltip.For example:
When you hover over
FOO(ss)and click the RMB you'll see an item "Expand macro".And after you click "Expand macro" you get the expanded version of the macro you clicked on in place where it was:
Originally posted by @Veetaha in #1734 (comment)