TODL

A tool that finds comment tags in source code.

What are comment tags?

Wikipedia Comment Tags

What comment tags are supported?

C style comments and rust todo!() macros.

What if my comments aren't supported?

There is support for custom tags but if you are using a language that is not currently supported raise an issue for it here Issues.

To find custom tags use todl -l custom

Usage

You can install todl as a cli tool cargo install todl

To search the current directory todl

Example output TODO: Hello 2022-12-24 21:10:06 ./benches/search.rs:13 TODO!: 2022-12-26 14:39:40 ./src/tag.rs:9 TODO: Add cool features 2022-12-26 14:39:40 ./src/lib.rs:8 TODO!: This is where the cool features s 2022-12-26 14:39:40 ./src/lib.rs:10 TODO: Clearing the line here means we ig 2022-12-26 13:17:33 ./src/source.rs:58 TODO: Find the todo 2022-12-24 21:10:06 ./tests/rust.rs:14 OPTIMIZE: Make it faster 2022-12-24 21:10:06 ./tests/rust.rs:15 FIX: Fix the bugs 2022-12-24 21:10:06 ./tests/rust.rs:17 BUG: It is broken 2022-12-24 21:10:06 ./tests/rust.rs:20 TODO!: 2022-12-24 21:10:06 ./tests/rust.rs:60 TODO: Find the todo 2022-12-25 21:57:42 ./tests/c.rs:11 OPTIMIZE: Make it faster 2022-12-25 21:57:42 ./tests/c.rs:12 FIX: Fix the bugs 2022-12-25 21:57:42 ./tests/c.rs:14 BUG: It is broken 2022-12-25 21:57:42 ./tests/c.rs:17

Alternatives

Check out these tools that do similar things - cargo-todo - todo-ci