Replies: 1 comment
-
Sorry, found a duplicate of this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I had a look in already closed discussions and stuff, but I could not find an answer to this.
I need to disable the proc macro expansion for 2 very specific macros.
The IDE is sometimes unsuable when it inspects these. It can get stuck completely, or when I am lucky, the code completion is just not working at all or it becomes really slow.
However, these 2 macros do not really do anything special to the function body and I want to disable the macro expansion just for these 2. These are used a lot when working with leptos and it is really annoying, when I always need to out-comment the macro when I want to write a new component / function.
In VSCode, you could do it with something like the following:
or in neovim with lspconfig:
Is it somehow possible to do the same for the rust plugin in IDEA, or actually with RustRover, which I started using?
Beta Was this translation helpful? Give feedback.
All reactions