Stream: t-compiler/rust-analyzer

Topic: macro_rules highlighting

pksunkara (May 28 2020 at 05:34, on Zulip):

I know that we are not highlighting content under macros because they are considered as normal tokens

pksunkara (May 28 2020 at 05:36, on Zulip):

But when declaring macro_rules (not talking about proc_macros), you generally given token hints like ident, expr etc.. Since we read the macro_rules def, can we use those hints to highlight the tokens inside macro call?

matklad (May 28 2020 at 07:17, on Zulip):

Yes, we should do that

matklad (May 28 2020 at 07:18, on Zulip):

More generally, we should make compleiton and goto definition work for $meta_vars

matklad (May 28 2020 at 07:18, on Zulip):

Highlighting is the last feature which you can implement

pksunkara (May 28 2020 at 17:01, on Zulip):

Is there any issue already for this?

Last update: Jul 28 2021 at 04:30UTC