jason0x43 / jc-toggl

Alfred workflow to interacting with Toggl
MIT License
28 stars 5 forks source link

Extend syntax for tags and projects #4

Open jason0x43 opened 10 years ago

jason0x43 commented 10 years ago

In #1 @donners proposed using hashtags to specify projects when creating or continuing timers. I think continuing is already covered, but I can certainly see using something like that for setting an initial project or changing projects.

How about # for tags and @ for projects? The syntax would be something like:

toggl+debug code @bob_project3 #tag1 #tag2

Braces could be used for multi-word tags or projects:

toggl+debug code @{bob's project} #tag1 #{tag 2}
leeola commented 10 years ago

I like the #myTag being tags. #foo is prime syntax, so it may make sense to be used as the project name, but since Tags are available i think #foo has to be a tag syntax, it would just be weird the other way (imo).

I don't really have an opinion about @projectName, seems fine :)

donners commented 10 years ago

@ and # sounds fine. Would love this feature.