You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm making a DSL for a library and would like to ship a LanguageService (+VSCode Ext) that provides highlighting/autocomplete while also allowing Rust in some positions. Something like:
html!{<Buttononclick=|click|{/* perform rust-completions here */}/>}
Right now, forwarding the request to the RA service doesn't provide any help because RA doesn't know how to process the proc macro. What strategy would you take to enable this sort of RA-powered assists in custom macros?
It's my first time in VScode extensions, so bear with me 🙂.
The text was updated successfully, but these errors were encountered:
I'm not sure what you're going for. Is this just a proc macro inside other Rust code? In that case, if the proc macro just passes through the code inside the {}, completions inside it should just work with rust-analyzer (as long as you enable proc-macro support). See also #7402 for some more information.
I'm making a DSL for a library and would like to ship a LanguageService (+VSCode Ext) that provides highlighting/autocomplete while also allowing Rust in some positions. Something like:
Right now, forwarding the request to the RA service doesn't provide any help because RA doesn't know how to process the proc macro. What strategy would you take to enable this sort of RA-powered assists in custom macros?
It's my first time in VScode extensions, so bear with me 🙂.
The text was updated successfully, but these errors were encountered: