Todo_r is a simple rust command line utility that keeps track of your todo items in code. It is pronounced "todoer" like someone that does todos.
Find all your notes with one command!
A lot is adapted from leasot but runs much faster.
The latest release can be downloaded from the releases page.
Reads TODO comments that are on their own line.
rust
// TODO: do this
/* TODO: do that */
User references are tracked and can be found using --user
flag.
rust
// TODO(user1): item
// TODO: tagging @user2 and @user3
// TODO(user1): @user3 both are also found!
Comments 1 and 3 are found with todor -u user1
.
Custom tags can be searched using the -t
flag.
-d
flag.Create a .todor file in the root of your workspace with todor init
.
.todor files can also used as a config file to set custom tags, comments types, output styles, etc.
| Filetype | Extensions | Comment Types |
|-------------|---------------------|---------------|
|C/C++ |.c
,.h
,.cpp
|//
,/* */
|
|C# |.cs
|//
,/* */
|
|CoffeeScript |.coffee
|#
|
|Go |.go
|//
,/* */
|
|Haskell |.hs
|--
|
|HTML |.html
,.htm
|<!-- -->
|
|Java |.java
|//
,/* */
|
|JavaScript |.js
,.es
,.es6
|//
,/* */
|
|Obj-C/C++ |.m
,.mm
|//
,/* */
|
|Less |.less
|//
,/* */
|
|Markdown |.md
|<!-- -->
|
|Perl |.pl
,.pm
|#
|
|PHP |.php
|//
,/* */
|
|Python |.py
|#
,""" """
|
|Ruby |.rb
|#
|
|Rust |.rs
|//
,/* */
|
|Sass |.sass
,scss
|//
,/* */
|
|Scala |.scala
|//
,/* */
|
|Shell |.sh
,.bash
,.zsh
|#
|
|SQL |.sql
|--
,/* */
|
|Stylus |.styl
|//
,/* */
|
|Swift |.swift
|//
,/* */
|
|TeX |.tex
|%
|
|TypeScript |.ts
,.tsx
|//
,/* */
|
|YAML |.yaml
,.yml
|#
|
written by Lavi Blumberg