I like to compartmentalize modules into separate folders. However, at a glance, this means having a bunch of
mod.rs files (each in their own folder).
Is there an approach to using VSCode for managing lots of mod.rs files - e.g. to draw attention more to the folder name than the file name?
In the meantime, what I've been doing is having a skeleton mod.rs that only has like:
mod foo; pub use foo::*;
That way I can put the code in
foo.rs even if it's essentially the only file in the folder.
It works, but I feel kinda silly having all these
mod.rs shims floating around since the only real reason is navigating tabs in VSCode.