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

Todo​Txt Syntax

Sublime Text syntax highlighting for Todo.txt

Details

  • 2022.11.09.22.15.07
  • github.​com
  • github.​com
  • 1 year ago
  • 24 minutes ago
  • 12 years ago

Installs

  • Total 12K
  • Win 5K
  • Mac 4K
  • Linux 3K
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
Windows 1 0 0 0 2 0 0 1 3 1 1 0 0 1 0 1 0 0 0 0 1 0 1 0 0 0 0 0 1 1 1 0 0 0 0 0 1 1 0 0 1 0 0 1 0
Mac 0 0 1 0 0 0 1 2 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 4 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0
Linux 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0 1 0 3 1 1 2 0 0 0 0 1 0 0 0 0 0 1 3 2 1 1 0 0 1 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. :-)

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.