4 ms·
Even with location information, if the IDE's going to offer autocomplete inside the macro it would need to be able to invert the way the macro transforms identi
by lmm 11y ago
Even with location information, if the IDE's going to offer autocomplete inside the macro it would need to be able to invert the way the macro transforms identifiers, which is not possible to do to arbitrary code.
I agree that this is very rarely practically important - but if you think about it that's precisely the fact that a more restricted alternative to macros should be adequate.