Todoist sync plugin for Coffee Break
When you run the synchronization for the first time, you will be asked for your API token. You can find it in Todoist (Settings -> Integrations -> API token).
See sample configuration below. This can be done both at workspace or folder level (the latter overrides the former).
{
...
"coffeebreak.sync": {
"command": "coffeebreak.todoist.sync",
"project_id": 12345678,
"label_ids": [ 121212, 343434 ]
},
...
}
command
(string) - name of the sync command to run
The following attributes may be provided and will be pass on to the Todoist API.
project_id
(integer) - The id of the project to add the task to. By default the task is added to the user’s Inbox project."priority
(integer) - The priority of the task (a number between 1 and 4, 4 for very urgent and 1 for natural)"label_ids
(array[integer]) - The tasks labels (a list of label ids)"
- create a
CofeeBreak
label in Todoist - to find the ID of the newly created label, run the "Get Todoist Labels" command in VSCode
- set
command
andlabel_ids
at workspace level - set
project_id
at folder level to have tasks from different folders synchronized to different projects in Todoist
Workspace:
{
...
"coffeebreak.sync": {
"command": "coffeebreak.todoist.sync",
"label_ids": [ <id-of-CoffeeBreak-label> ]
},
...
}
Folder:
{
...
"coffeebreak.sync": {
"project_id": 12345678
},
...
}