ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Todo​Txt Syntax

by dertuxmalwieder ST2/ST3

Sublime Text 3 syntax highlighting for Todo.txt

Details

  • 2017.09.10.18.00.31
  • github.​com
  • github.​com
  • 6 months ago
  • 2 days ago
  • 6 years ago

Installs

  • Total 7K
  • Win 3K
  • OS X 2K
  • Linux 2K
Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10
Windows 1 1 3 1 3 3 1 2 1 1 5 2 2 2 0 1 1 5 2 2 1 0 2 4 2 4 2 0 1 1 7 3 5 7 0 0 3 3 3 1 2 4 0 4 1 0
OS X 0 2 1 1 0 2 3 1 1 1 2 7 2 1 1 1 3 2 3 5 0 4 3 4 5 5 2 0 4 5 4 2 1 2 2 0 3 0 4 1 0 0 0 1 2 1
Linux 0 1 1 0 2 2 1 1 0 1 1 0 1 2 0 2 1 1 4 0 0 1 1 0 1 3 1 1 2 0 5 2 4 0 0 0 0 0 2 2 0 0 1 0 2 0

Readme

Source
raw.​githubusercontent.​com

SublimeTodoTxt

This is Todo.txt syntax highlighting support for Sublime Text (tested with Sublime Text 3).

Screenshot

Background

I am currently using Todo.txt exclusively to manage all tasks which don't necessarily need to be set to a specific date (which is something the Todo.txt format can't handle by default). While there are some really great mobile apps for managing the Todo.txt file (via Dropbox), all available Windows GUIs are crap.

On the other hand, Todo.txt is a plain text format, so why waste GUI overhead? So I decided to add Todo.txt highlighting to Sublime Text.

Current state

This repository contains everything that's needed to display plain Todo.txt files correctly.

Installation

via Package Control (recommended)

SublimeTodoTxt is available from wbond's Package Control plug-in, you can find it as Todo.txt Syntax.

manually

If you don't want to use Package Control, just copy the syntax file into your Packages directory.

Useful tricks

If you want Sublime Text to automatically save your Todo.txt file when the window loses its focus, just create a file named TodoTxt.sublime-settings in your User package, its contents are:

{
   "save_on_focus_lost": true
}

Now you're done.

Future development

As Todo.txt is a rather simple format, I doubt that it's necessary to add any plug-in functionalities. Using menu items or shortcuts to change priorities and tags would probably be more effort than just changing the particular characters manually.

I do, however, plan to keep up with Sublime Text development, so once ST4 comes out and breaks stuff, I'll most likely be ready. In case there are any wishes, please drop by in the forum thread for SublimeTodoTxt. :-)

Contact

I'm tux in the Sublime Text forums. Feel free to get in touch with me. I wear some pants most of the time.

Make me rich!

In case you are German and like what I do, feel free to install my Amazon.de partner script (requires userscript support in your browser, like Firefox with the Greasemonkey extension) which adds my “tag” to all Amazon.de links. You can also lend me some Bitcoins, the preferred address is 1FJngJTiBiidA2HZ81xS9FGdrQmbQe2BHY.