Hacker News new | past | comments | ask | show | jobs | submit login

eslint does this for JavaScript with the no-warning-comment rule. The general idea there goes something like "don't use code comments as a project management tool," but I tend to use eslint as a reminder to finish things for my current PR.

Also it occurred to me you could use grep or rg, something like...

  rg '\s*//\s*TODO'

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact