# TODO Comment Search Use `ripgrep` (`rg`) to find TODO-style comments quickly across projects. This is useful for local cleanup, release checks, and CI gates. ## Quick search ```bash rg --no-messages --vimgrep -H --column --line-number --color never \ -e '(TODO|FIXME|BUG|HACK|XXX)' . ``` `--vimgrep`, `-H`, `--column`, and `--line-number` produce rows in this form: ```text path/to/file:line:column:matched text ``` ## Comment-aware search This pattern looks for common comment prefixes, markdown task/list items, or a tag at the start of a line: ```bash TAGS='BUG|HACK|FIXME|TODO|XXX|\[ \]|\[x\]' PREFIX='//|#|