-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-macromacro expansionmacro expansionE-hardS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now
Description
With support for fn-like proc macros as expressions becoming stable in rust 1.45 (rust-lang/rust#68717), I am opening this issue to track rust-analyzer support for language features within them.
For example, given the code below that uses a proc macro that implements jsx-like syntax...
let items = &["a", "b", "c"];
let html = html!(<ul>{items.iter().map(|item| html!(<li>{item}</li>))}</ul>);
... it would be awesome to be able to use "go to definition", "rename", "find references", etc when my cursor is over the last item
identifier.
trevyn, ChaseElectr and lainisourgod
Metadata
Metadata
Assignees
Labels
A-macromacro expansionmacro expansionE-hardS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now