Code Monkey home page Code Monkey logo

sublimetodotxt's Introduction

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.

sublimetodotxt's People

Contributors

alin23 avatar banonotit avatar basiliskus avatar biobox avatar damountie avatar dertuxmalwieder avatar rdev5 avatar rrelict avatar servous avatar shaneknysh avatar yoachim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sublimetodotxt's Issues

Remove the dot `.` on the package name `Todo.txt Syntax`

On wbond/package_control_channel#2524 (Test against package names containing periods) was determinate that Sublime Text 3 cannot support package names within dot on their names. Then all the packages with dot . on their names should either be renamed without the dot, or marked as Sublime Text 2 supported.

If after sometime, a pull request to package_control_channel removing the dot . on the package name is not sent, the package will be marked as supported by Sublime Text 2 only. Currently the package is marked as supported by all versions of Sublime Text.

Add filenames for TodoTxt syntax highlighting?

By default, it seems syntax highlighting is only applied to files named todo.txt but I have todo lists with other names. I archive my tasks in done.txt, I have a someday_maybe.txt beside my daily updated todo.txt, and I share a todo list with a friend that has a different name as well.

I couldn't figure out how to define syntax highlighting for specific files/filenames in Sublime Text. I don't want to change it for the file type - not all txt files should have TodoTxt syntax. The closest I got was this plugin, but it's not available for Sublime Text 3.

Is there an easy way to add filenames for TodoTxt syntax highlighting? And if not, could you add this functionality?

Highlighting sometimes doesn't work

For example, try this:

2016-10-28[tab] testing this out

In my case, the date will not be highlighted. However, if I change [tab] to [spaces], it'll work just fine.

May I also suggest two things:

  • Color change for priority tags? ((A), (B), etc)
  • Make it so priority tags go to the top?

Allow whitespace in front of 'x'?

I have a TODO.txt file, with some subtasks, for example:

) Foo
    x ) Bar
    ) Baz

I'd like the Bar entry to syntax highlight, wondering if this is feasible or practical ...

Different colors for project and context?

sorry if this is a sublime nube question, but is there any way I can change the settings so the context and project text get set to different colors? Right now they show up the same.

Move to todotxt organization

Hello @dertuxmalwieder

There's a new organization (@todotxt) managing the todo.txt format, todo.txt-cli, and other apps. It'd be great to move this repo there and get more group maintenance.

Would you be willing to move this project over and join the team to manage your repo, with the help of others?

It's better to move it than fork it since the issues, wiki, and history will all move along with it.

Autocompletion?

Would it be possible to add popup auto-completion for tags and projects?

how to install?

Please provide instructions on how to install SublimeTodoTxt.

Install Info May be Useful

This isn't available via Sublime Package Manager, so it may be useful to include install instructions. Something like...

  1. Open the Sublime Text Packages folder
    • OS X: ~/Library/Application Support/Sublime Text 3/Packages/
    • Windows: %APPDATA%/Sublime Text 3/Packages/
    • Linux: ~/.Sublime Text 3/Packages/
  2. clone this repo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.