Use this extension to generate a rust mod quickly.
Note: The target folder/directory has to contain either a "mod.rs" or a "lib.rs" file, and the workspace has to contain a Cargo.toml file.
Note: A .rs file has to be focused on, such that the extension can determine the path of the new mod.
None.
This extension contributes the following settings:
rust-mod-generator.autoFocus: Enable to auto focus on the new created module.rust-mod-generator.selectAccessModifier: Enable to set the access modifier when creating a new module.rust-mod-generator.addModDeclaration: Enable to prepend<modifier> mod <mod_name>;to a resource file.rust-mod-generator.enableFileMenuItem: Enable to show the context menu item on Rust files in addition to folders.
Welcome to post any issue.


