Code Monkey home page Code Monkey logo

Comments (11)

dertuxmalwieder avatar dertuxmalwieder commented on July 30, 2024

No problem - and: not really, because I like to keep close to "the standard" as in "everything but the undefined states". The problem would probably be to recognize them correctly, given that there is no format definition.

from sublimetodotxt.

jarmitage avatar jarmitage commented on July 30, 2024

Yeah, that's understandable.

I was just looking at where WAIT is defined in your plugin, and was wondering how I would go about adding an extra dictionary entry – presumably that would achieve what I'm aiming for, right?

I'm happy to do that manually if so and let you keep your unconfigurationalised setup :-)

from sublimetodotxt.

dertuxmalwieder avatar dertuxmalwieder commented on July 30, 2024

For such a dictionary entry, it would be required to actually have a format definition...

from sublimetodotxt.

jarmitage avatar jarmitage commented on July 30, 2024

You mean it would also need to be defined in Todo.sh?

from sublimetodotxt.

dertuxmalwieder avatar dertuxmalwieder commented on July 30, 2024

I mean I can't highlight freeform entries.

from sublimetodotxt.

jarmitage avatar jarmitage commented on July 30, 2024

Sorry I'm a bit confused. Would this not work?

<dict>
<key>comment</key>
<string>Todo COLLECT command</string>
<key>match</key>
<string>[^\S](?i:COLLECT)[^\S]</string>
<key>name</key>
<string>keyword.other.todotxt.collect</string>
</dict>

from sublimetodotxt.

dertuxmalwieder avatar dertuxmalwieder commented on July 30, 2024

Probably it would, but the website you linked states:

you can choose any unique keyword, and search by it.

Any keyword means "I can't just add this keyword".

from sublimetodotxt.

jarmitage avatar jarmitage commented on July 30, 2024

Ok sure. It doesn't sound like you are interested in doing this, but it seems possible that the plugin could detect any ALL CAPS words (some Todo.txt apps use WORD: instead of WORD to avoid confusion) and apply highlighting, or maintain a custom dictionary.

Anyway I can implement this if I need it. Thanks for your help!

from sublimetodotxt.

dertuxmalwieder avatar dertuxmalwieder commented on July 30, 2024

I think we're just not getting each other's point. I would be interested if I could. :-) The problem is that the specification doesn't even say it has to be a CAPS word.

from sublimetodotxt.

jarmitage avatar jarmitage commented on July 30, 2024

Ah yeah you're right, I forgot about that!

Well, my main inspiration for raising this was the Todour app. See how in the video the user can add a term like LATER: which will be recognised.

from sublimetodotxt.

dertuxmalwieder avatar dertuxmalwieder commented on July 30, 2024

Here's my suggestion: One of us asks the Todo.txt designer whether caps are mandatory. If so, I'll add it. :-)

from sublimetodotxt.

Related Issues (15)

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.