Navigation to generated code. (Prost, Tonic)

Hello!
I'm a newcomer to Rust+Protobuf.
tonic-build tutorial and reference tell to
generate code via

tonic_build::compile_protos("proto/helloworld.proto")?;  // in build.rs

and then use it via

tonic::include_proto!("helloworld"); // in some module file

This approach is extremely unfriendly for IDE as I see.
RustAnalyzer and JetBrains Rust plugin are unable to navigate to the code we bring into a file via include!()

What do you think about putting generated files into our /src dir?
May be you can suggest some IDE and git friendly workflow?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.