Skip to content

Wasm bindgen attribute macros are not IDE friendly #2715

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
HKalbasi opened this issue Nov 3, 2021 · 0 comments
Open

Wasm bindgen attribute macros are not IDE friendly #2715

HKalbasi opened this issue Nov 3, 2021 · 0 comments
Labels

Comments

@HKalbasi
Copy link
Contributor

HKalbasi commented Nov 3, 2021

TL;DR: Proc macros should emit incomplete functions which proc macro fails to parse as-is, so rust analyzer can understand incomplete functions and suggest auto complete and such features.

Issue in rust analyzer: rust-lang/rust-analyzer#10498

Similar issue for tokio's attribute macros, which is now fixed: tokio-rs/tokio#4154

@HKalbasi HKalbasi added the bug label Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant