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
When I open the DOM example with VS Code and the latest rust-analyzer, I don't get any autocompletion after typing document..
Additional Details
When I remove the #[wasm_bindgen] attribute autocompletion works fine, so the proc macro attribute apparently somehow breaks the autocompletion. I have rust-analyzer.procMacro.enable enabled and I also tried enabling rust-analyzer.experimental.procAttrMacros but that didn't help.
The text was updated successfully, but these errors were encountered:
not-my-profile
changed the title
Missing autocompletion for web-sys with rust-analyzer in #[wasm_bindgen] attributed function
No autocompletion with rust-analyzer in #[wasm_bindgen] attributed function
Sep 2, 2021
Summary
When I open the DOM example with VS Code and the latest rust-analyzer, I don't get any autocompletion after typing
document.
.Additional Details
When I remove the
#[wasm_bindgen]
attribute autocompletion works fine, so the proc macro attribute apparently somehow breaks the autocompletion. I haverust-analyzer.procMacro.enable
enabled and I also tried enablingrust-analyzer.experimental.procAttrMacros
but that didn't help.The text was updated successfully, but these errors were encountered: