Does anyone who uses zbus have advice on managing the generated code during development time using rust-analyzer as an LSP server? Would it be possible to, say, have it macroexpand the generated files so that the type information will be available while I am coding. Otherwise, I suppose I can dump the macroexpanded file out into a file and read it that way. Additionally, what is the prefered way to organize the code? At present, I have a src/generated/mod.rs that holds all the generated code, but I suspect that this will turn out to be a gigantic mess in the long run.
I'm not familiar with zbus, but it seems to be using attribute macros. Have you tried enabling rust-analyzer.experimental.procAttrMacros? Or is there some other code generation there that I missed?
Are there any other variables I need to turn on in conjunction to that one? I am getting an unresolved procmacro dbus_proxy, yet the code runs fine and compiles correclty.