Skip to content

Syntax highlighting and utilities for todo.txt files for atom.io

License

Notifications You must be signed in to change notification settings

todotxt/language-todotxt

language-todotxt package

Todo.txt

This package adds syntax highlighting to todo.txt files in the Atom text editor.

Originally converted from the tmTodoTXT TextMate bundle.

Build Status Build Status Gitter chat

License

Copyright (c) 2011, Philipp Fehre [email protected] All rights reserved.

Copyright (c) 2014, 2017, Brandon Padgett [email protected] All rights reserved.

Copyright (c) 2017, 2018 Evan Prodromou [email protected] All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the TU München nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Code of conduct

This project has adopted a code of conduct in order to be welcoming to all participants.

Commands

When you are in todo.txt mode, you have access to the following commands:

  • todotxt:add: add a new task on the line below the current line
  • todotxt:done: mark the task on the current line done
  • todotxt:priority-a set the priority of the current task to A
  • todotxt:priority-b set the priority of the current task to B
  • todotxt:priority-c set the priority of the current task to C
  • ... (same thing for D-Y)
  • todotxt:priority-z set the priority of the current task to Z

There is also an autocompletion function when you are typing out a context or a priority.

Useful packages for todo.txt files

One nice thing about the todo.txt format is that it's easily managed with basic text sorting and filtering tools. Here are some that are available for Atom:

  • sort-lines. It sorts lines. Very useful for todo.txt.