Annoyed by comments cluttering your code?
Those stupid //TODO
and //FIXME
your co-worker put everywhere need to be removed?
- set toolchain to nightly
rustup override set nightly
- run with:
cargo run [directory]
- install and run from anywhere:
cargo install --path .
~/.cargo/bin/codeonly [directory]
- add another
/src/codeonly_<file-extension>.rs
file that removes the comments from the given programming language - import the module in
/src/main.rs
- add another pattern match in
/src/main.rs