Crates.io | todl |
lib.rs | todl |
version | 0.2.0 |
source | src |
created_at | 2022-12-26 18:49:32.093709 |
updated_at | 2023-08-12 09:37:16.402707 |
description | Tool for finding comment tags in source code |
homepage | |
repository | https://github.com/RuairidhWilliamson/todl |
max_upload_size | |
id | 745898 |
size | 257,361 |
A tool that finds comment tags in source code.
Do you like leaving todo comments in your code but want a way to easily find them? Use grep! But if you want different kinds of tags (optimize, fix, bug, etc...), want more information (when comments were last changed) or you are just lazy then todl can help.
You can install todl as a cli tool
cargo install todl
To search the current directory
todl
Example output (width is determined by your terminal)
Comment tags are labels at the start of comments to make it easier to find and convey meaning.
// TODO: Make this function do something
fn foo() -> u32 {
0
}
C style comments and rust todo!()
macros.
Supported tags include (case insensitive):
todo
bug
debug
fix
fixme
note
nb
undone
hack
bodge
kludge
xxx
optimize
optimizeme
optimise
optimiseme
safety
invariant
lint
ignored
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.
Check out these tools that do similar things