Open mischnic opened 2 years ago
I've been able to fix this this (in rust-analyzer) by disabling proc attr macro support:
With rust-analyzer 2022-01-10
, you can also do the following to ignore the napi
macro.
VSCode
"rust-analyzer.procMacro.ignored": { "napi-derive": ["napi"] }
Neovim
['rust-analyzer'] = {
procMacro = {
ignored = {
['napi-derive'] = { 'napi' },
},
},
},
Sorry for my mis-operation that unpin this issue..
@numToStr Do you know how to solve this problem in RustRover?
I can see how/why this happened, but from a user's perspective autocomplete being broken inside of constructs using the napi macro is very frustrating.